@tsonic/efcore-npgsql 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/Microsoft.EntityFrameworkCore/bindings.json +14997 -0
- package/Microsoft.EntityFrameworkCore/internal/index.d.ts +795 -0
- package/Microsoft.EntityFrameworkCore/internal/metadata.json +10154 -0
- package/Microsoft.EntityFrameworkCore.Diagnostics/bindings.json +356 -0
- package/Microsoft.EntityFrameworkCore.Diagnostics/internal/index.d.ts +34 -0
- package/Microsoft.EntityFrameworkCore.Diagnostics/internal/metadata.json +172 -0
- package/Microsoft.EntityFrameworkCore.Diagnostics.d.ts +13 -0
- package/Microsoft.EntityFrameworkCore.Diagnostics.js +9 -0
- package/Microsoft.EntityFrameworkCore.Metadata.Internal/bindings.json +50 -0
- package/Microsoft.EntityFrameworkCore.Metadata.Internal/internal/index.d.ts +22 -0
- package/Microsoft.EntityFrameworkCore.Metadata.Internal/internal/metadata.json +49 -0
- package/Microsoft.EntityFrameworkCore.Metadata.Internal.d.ts +13 -0
- package/Microsoft.EntityFrameworkCore.Metadata.Internal.js +9 -0
- package/Microsoft.EntityFrameworkCore.d.ts +58 -0
- package/Microsoft.EntityFrameworkCore.js +9 -0
- package/Microsoft.Extensions.DependencyInjection/bindings.json +68 -0
- package/Microsoft.Extensions.DependencyInjection/internal/index.d.ts +22 -0
- package/Microsoft.Extensions.DependencyInjection/internal/metadata.json +63 -0
- package/Microsoft.Extensions.DependencyInjection.d.ts +15 -0
- package/Microsoft.Extensions.DependencyInjection.js +9 -0
- package/Npgsql/bindings.json +26674 -0
- package/Npgsql/internal/index.d.ts +1619 -0
- package/Npgsql/internal/metadata.json +15514 -0
- package/Npgsql.BackendMessages/bindings.json +95 -0
- package/Npgsql.BackendMessages/internal/index.d.ts +25 -0
- package/Npgsql.BackendMessages/internal/metadata.json +72 -0
- package/Npgsql.BackendMessages.d.ts +12 -0
- package/Npgsql.BackendMessages.js +9 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL/bindings.json +153 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL/internal/index.d.ts +32 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL/internal/metadata.json +60 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Design.Internal/bindings.json +404 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Design.Internal/internal/index.d.ts +66 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Design.Internal/internal/metadata.json +269 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Design.Internal.d.ts +22 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Design.Internal.js +9 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Diagnostics.Internal/bindings.json +399 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Diagnostics.Internal/internal/index.d.ts +40 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Diagnostics.Internal/internal/metadata.json +184 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Diagnostics.Internal.d.ts +12 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Diagnostics.Internal.js +9 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Extensions.Internal/bindings.json +152 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Extensions.Internal/internal/index.d.ts +26 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Extensions.Internal/internal/metadata.json +125 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Extensions.Internal.d.ts +14 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Extensions.Internal.js +9 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Infrastructure/bindings.json +499 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Infrastructure/internal/index.d.ts +65 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Infrastructure/internal/metadata.json +342 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Infrastructure.Internal/bindings.json +1540 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Infrastructure.Internal/internal/index.d.ts +128 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Infrastructure.Internal/internal/metadata.json +985 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Infrastructure.Internal.d.ts +25 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Infrastructure.Internal.js +9 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Infrastructure.d.ts +21 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Infrastructure.js +9 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Internal/bindings.json +1581 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Internal/internal/index.d.ts +110 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Internal/internal/metadata.json +1064 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Internal.d.ts +20 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Internal.js +9 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Metadata/bindings.json +1548 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Metadata/internal/index.d.ts +149 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Metadata/internal/metadata.json +990 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Metadata.Conventions/bindings.json +480 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Metadata.Conventions/internal/index.d.ts +111 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Metadata.Conventions/internal/metadata.json +317 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Metadata.Conventions.d.ts +27 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Metadata.Conventions.js +9 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Metadata.Internal/bindings.json +1255 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Metadata.Internal/internal/index.d.ts +101 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Metadata.Internal/internal/metadata.json +664 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Metadata.Internal.d.ts +18 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Metadata.Internal.js +9 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Metadata.d.ts +26 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Metadata.js +9 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Migrations/bindings.json +138 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Migrations/internal/index.d.ts +33 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Migrations/internal/metadata.json +95 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Migrations.Internal/bindings.json +394 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Migrations.Internal/internal/index.d.ts +58 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Migrations.Internal/internal/metadata.json +262 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Migrations.Internal.d.ts +23 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Migrations.Internal.js +9 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Migrations.Operations/bindings.json +175 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Migrations.Operations/internal/index.d.ts +45 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Migrations.Operations/internal/metadata.json +114 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Migrations.Operations.d.ts +16 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Migrations.Operations.js +9 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Migrations.d.ts +18 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Migrations.js +9 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Query/bindings.json +522 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Query/internal/index.d.ts +51 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Query/internal/metadata.json +351 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Query.ExpressionTranslators.Internal/bindings.json +2098 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Query.ExpressionTranslators.Internal/internal/index.d.ts +413 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Query.ExpressionTranslators.Internal/internal/metadata.json +1349 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Query.ExpressionTranslators.Internal.d.ts +54 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Query.ExpressionTranslators.Internal.js +9 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Query.Expressions/bindings.json +671 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Query.Expressions/internal/index.d.ts +45 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Query.Expressions/internal/metadata.json +304 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Query.Expressions.Internal/bindings.json +4396 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Query.Expressions.Internal/internal/index.d.ts +360 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Query.Expressions.Internal/internal/metadata.json +2783 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Query.Expressions.Internal.d.ts +36 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Query.Expressions.Internal.js +9 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Query.Expressions.d.ts +12 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Query.Expressions.js +9 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Query.Internal/bindings.json +1277 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Query.Internal/internal/index.d.ts +266 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Query.Internal/internal/metadata.json +806 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Query.Internal.d.ts +39 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Query.Internal.js +9 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Query.d.ts +20 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Query.js +9 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Scaffolding.Internal/bindings.json +151 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Scaffolding.Internal/internal/index.d.ts +43 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Scaffolding.Internal/internal/metadata.json +102 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Scaffolding.Internal.d.ts +19 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Scaffolding.Internal.js +9 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal/bindings.json +1237 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal/internal/index.d.ts +164 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal/internal/metadata.json +807 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.Json/bindings.json +267 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.Json/internal/index.d.ts +52 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.Json/internal/metadata.json +186 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.Json.d.ts +18 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.Json.js +9 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.Mapping/bindings.json +8287 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.Mapping/internal/index.d.ts +1225 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.Mapping/internal/metadata.json +4823 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.Mapping.d.ts +93 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.Mapping.js +9 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.d.ts +34 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.js +9 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Storage.ValueConversion/bindings.json +85 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Storage.ValueConversion/internal/index.d.ts +25 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Storage.ValueConversion/internal/metadata.json +51 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Storage.ValueConversion.d.ts +13 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Storage.ValueConversion.js +9 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Update.Internal/bindings.json +500 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Update.Internal/internal/index.d.ts +85 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Update.Internal/internal/metadata.json +341 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Update.Internal.d.ts +20 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.Update.Internal.js +9 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.ValueGeneration/bindings.json +181 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.ValueGeneration/internal/index.d.ts +40 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.ValueGeneration/internal/metadata.json +118 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.ValueGeneration.Internal/bindings.json +469 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.ValueGeneration.Internal/internal/index.d.ts +110 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.ValueGeneration.Internal/internal/metadata.json +323 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.ValueGeneration.Internal.d.ts +24 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.ValueGeneration.Internal.js +9 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.ValueGeneration.d.ts +15 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.ValueGeneration.js +9 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.d.ts +15 -0
- package/Npgsql.EntityFrameworkCore.PostgreSQL.js +9 -0
- package/Npgsql.Internal/bindings.json +6965 -0
- package/Npgsql.Internal/internal/index.d.ts +591 -0
- package/Npgsql.Internal/internal/metadata.json +4555 -0
- package/Npgsql.Internal.Postgres/bindings.json +973 -0
- package/Npgsql.Internal.Postgres/internal/index.d.ts +89 -0
- package/Npgsql.Internal.Postgres/internal/metadata.json +619 -0
- package/Npgsql.Internal.Postgres.d.ts +15 -0
- package/Npgsql.Internal.Postgres.js +9 -0
- package/Npgsql.Internal.d.ts +78 -0
- package/Npgsql.Internal.js +9 -0
- package/Npgsql.NameTranslation/bindings.json +266 -0
- package/Npgsql.NameTranslation/internal/index.d.ts +56 -0
- package/Npgsql.NameTranslation/internal/metadata.json +173 -0
- package/Npgsql.NameTranslation.d.ts +15 -0
- package/Npgsql.NameTranslation.js +9 -0
- package/Npgsql.PostgresTypes/bindings.json +1375 -0
- package/Npgsql.PostgresTypes/internal/index.d.ts +141 -0
- package/Npgsql.PostgresTypes/internal/metadata.json +480 -0
- package/Npgsql.PostgresTypes.d.ts +22 -0
- package/Npgsql.PostgresTypes.js +9 -0
- package/Npgsql.Replication/bindings.json +1909 -0
- package/Npgsql.Replication/internal/index.d.ts +192 -0
- package/Npgsql.Replication/internal/metadata.json +972 -0
- package/Npgsql.Replication.Internal/bindings.json +165 -0
- package/Npgsql.Replication.Internal/internal/index.d.ts +38 -0
- package/Npgsql.Replication.Internal/internal/metadata.json +119 -0
- package/Npgsql.Replication.Internal.d.ts +21 -0
- package/Npgsql.Replication.Internal.js +9 -0
- package/Npgsql.Replication.PgOutput/bindings.json +1124 -0
- package/Npgsql.Replication.PgOutput/internal/index.d.ts +115 -0
- package/Npgsql.Replication.PgOutput/internal/metadata.json +644 -0
- package/Npgsql.Replication.PgOutput.Messages/bindings.json +4397 -0
- package/Npgsql.Replication.PgOutput.Messages/internal/index.d.ts +476 -0
- package/Npgsql.Replication.PgOutput.Messages/internal/metadata.json +1905 -0
- package/Npgsql.Replication.PgOutput.Messages.d.ts +56 -0
- package/Npgsql.Replication.PgOutput.Messages.js +9 -0
- package/Npgsql.Replication.PgOutput.d.ts +26 -0
- package/Npgsql.Replication.PgOutput.js +9 -0
- package/Npgsql.Replication.TestDecoding/bindings.json +522 -0
- package/Npgsql.Replication.TestDecoding/internal/index.d.ts +63 -0
- package/Npgsql.Replication.TestDecoding/internal/metadata.json +283 -0
- package/Npgsql.Replication.TestDecoding.d.ts +17 -0
- package/Npgsql.Replication.TestDecoding.js +9 -0
- package/Npgsql.Replication.d.ts +36 -0
- package/Npgsql.Replication.js +9 -0
- package/Npgsql.Schema/bindings.json +714 -0
- package/Npgsql.Schema/internal/index.d.ts +54 -0
- package/Npgsql.Schema/internal/metadata.json +451 -0
- package/Npgsql.Schema.d.ts +15 -0
- package/Npgsql.Schema.js +9 -0
- package/Npgsql.TypeMapping/bindings.json +350 -0
- package/Npgsql.TypeMapping/internal/index.d.ts +43 -0
- package/Npgsql.TypeMapping/internal/metadata.json +248 -0
- package/Npgsql.TypeMapping.d.ts +16 -0
- package/Npgsql.TypeMapping.js +9 -0
- package/Npgsql.Util/bindings.json +17 -0
- package/Npgsql.Util/internal/index.d.ts +22 -0
- package/Npgsql.Util/internal/metadata.json +24 -0
- package/Npgsql.Util.d.ts +12 -0
- package/Npgsql.Util.js +9 -0
- package/Npgsql.d.ts +99 -0
- package/Npgsql.js +9 -0
- package/NpgsqlTypes/bindings.json +8946 -0
- package/NpgsqlTypes/internal/index.d.ts +654 -0
- package/NpgsqlTypes/internal/metadata.json +5014 -0
- package/NpgsqlTypes.d.ts +47 -0
- package/NpgsqlTypes.js +9 -0
- package/README.md +5 -0
- package/__build/ref/Program.cs +5 -0
- package/__build/ref/ref.csproj +13 -0
- package/__build/scripts/generate.sh +113 -0
- package/__internal/extensions/index.d.ts +163 -0
- package/families.json +23 -0
- package/package.json +28 -0
- package/tsconfig.json +20 -0
|
@@ -0,0 +1,1619 @@
|
|
|
1
|
+
// Generated by tsbindgen - Architecture
|
|
2
|
+
// Namespace: Npgsql
|
|
3
|
+
// Assembly: Npgsql
|
|
4
|
+
|
|
5
|
+
// Primitive type aliases from @tsonic/core
|
|
6
|
+
import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
7
|
+
|
|
8
|
+
// Import support types from @tsonic/core
|
|
9
|
+
import type { ptr } from "@tsonic/core/types.js";
|
|
10
|
+
|
|
11
|
+
// Import types from other namespaces
|
|
12
|
+
import type { DbTypeResolverFactory, PgTypeInfoResolverFactory } from "../../Npgsql.Internal/internal/index.js";
|
|
13
|
+
import type { PostgresType } from "../../Npgsql.PostgresTypes/internal/index.js";
|
|
14
|
+
import type { NpgsqlDbColumn } from "../../Npgsql.Schema/internal/index.js";
|
|
15
|
+
import * as Npgsql_TypeMapping_Internal from "../../Npgsql.TypeMapping/internal/index.js";
|
|
16
|
+
import type { INpgsqlTypeMapper } from "../../Npgsql.TypeMapping/internal/index.js";
|
|
17
|
+
import type { NpgsqlDbType } from "../../NpgsqlTypes/internal/index.js";
|
|
18
|
+
import * as System_Collections_Generic_Internal from "@tsonic/dotnet/System.Collections.Generic.js";
|
|
19
|
+
import type { ICollection as ICollection__System_Collections_Generic, IDictionary as IDictionary__System_Collections_Generic, IEnumerable as IEnumerable__System_Collections_Generic, IEnumerator as IEnumerator__System_Collections_Generic, IList as IList__System_Collections_Generic, IReadOnlyDictionary, IReadOnlyList, KeyValuePair } from "@tsonic/dotnet/System.Collections.Generic.js";
|
|
20
|
+
import * as System_Collections_Internal from "@tsonic/dotnet/System.Collections.js";
|
|
21
|
+
import type { ICollection, IDictionary, IEnumerable, IEnumerator, IList } from "@tsonic/dotnet/System.Collections.js";
|
|
22
|
+
import type { ReadOnlyCollection } from "@tsonic/dotnet/System.Collections.ObjectModel.js";
|
|
23
|
+
import * as System_ComponentModel_Internal from "@tsonic/dotnet/System.ComponentModel.js";
|
|
24
|
+
import type { IComponent, ICustomTypeDescriptor } from "@tsonic/dotnet/System.ComponentModel.js";
|
|
25
|
+
import * as System_Data_Common_Internal from "@tsonic/dotnet/System.Data.Common.js";
|
|
26
|
+
import type { DataTableMapping, DbBatch, DbBatchCommand, DbBatchCommandCollection, DbColumn, DbCommand, DbCommandBuilder, DbConnection, DbConnectionStringBuilder, DbDataAdapter, DbDataReader, DbDataSource, DbException, DbParameter, DbParameterCollection, DbProviderFactory, DbTransaction, IDbColumnSchemaGenerator, RowUpdatedEventArgs, RowUpdatingEventArgs } from "@tsonic/dotnet/System.Data.Common.js";
|
|
27
|
+
import * as System_Data_Internal from "@tsonic/dotnet/System.Data.js";
|
|
28
|
+
import type { CommandBehavior, CommandType, ConnectionState, DataRow, DataRowVersion, DataTable, DbType, IDataAdapter, IDataParameter, IDataParameterCollection, IDataReader, IDataRecord, IDbCommand, IDbConnection, IDbDataAdapter, IDbDataParameter, IDbTransaction, IsolationLevel, ParameterDirection, StatementType as StatementType_Data, UpdateRowSource } from "@tsonic/dotnet/System.Data.js";
|
|
29
|
+
import type { Activity } from "@tsonic/dotnet/System.Diagnostics.js";
|
|
30
|
+
import * as System_IO_Internal from "@tsonic/dotnet/System.IO.js";
|
|
31
|
+
import type { SeekOrigin, Stream, StreamReader, StreamWriter, TextReader } from "@tsonic/dotnet/System.IO.js";
|
|
32
|
+
import * as System_Internal from "@tsonic/dotnet/System.js";
|
|
33
|
+
import type { Action, Array as ClrArray, AsyncCallback, Boolean as ClrBoolean, Byte, Char, DateTime, Decimal, Double, Enum, EventArgs, EventHandler, Exception, Func, Guid, IAsyncDisposable, IAsyncResult, ICloneable, IComparable, IConvertible, IDisposable, IFormattable, Int16, Int32, Int64, IntPtr, IServiceProvider, ISpanFormattable, Memory, MulticastDelegate, Nullable, Object as ClrObject, ReadOnlyMemory, ReadOnlySpan, Single, Span, String as ClrString, TimeSpan, Type, UInt32, UInt64, ValueType, Version, Void } from "@tsonic/dotnet/System.js";
|
|
34
|
+
import type { NegotiateAuthenticationClientOptions, RemoteCertificateValidationCallback, SslClientAuthenticationOptions } from "@tsonic/dotnet/System.Net.Security.js";
|
|
35
|
+
import * as System_Runtime_Serialization_Internal from "@tsonic/dotnet/System.Runtime.Serialization.js";
|
|
36
|
+
import type { ISerializable, SerializationInfo, StreamingContext } from "@tsonic/dotnet/System.Runtime.Serialization.js";
|
|
37
|
+
import type { X509Certificate, X509Certificate2, X509Certificate2Collection, X509CertificateCollection } from "@tsonic/dotnet/System.Security.Cryptography.X509Certificates.js";
|
|
38
|
+
import type { JsonSerializerOptions } from "@tsonic/dotnet/System.Text.Json.js";
|
|
39
|
+
import type { CancellationToken } from "@tsonic/dotnet/System.Threading.js";
|
|
40
|
+
import type { Task, ValueTask } from "@tsonic/dotnet/System.Threading.Tasks.js";
|
|
41
|
+
import type { Transaction } from "@tsonic/dotnet/System.Transactions.js";
|
|
42
|
+
import type { ILoggerFactory } from "@tsonic/microsoft-extensions/Microsoft.Extensions.Logging.js";
|
|
43
|
+
|
|
44
|
+
export enum ArrayNullabilityMode {
|
|
45
|
+
never_ = 0,
|
|
46
|
+
always = 1,
|
|
47
|
+
perInstance = 2
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
export enum ChannelBinding {
|
|
52
|
+
disable = 0,
|
|
53
|
+
prefer = 1,
|
|
54
|
+
require = 2
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
export enum GssEncryptionMode {
|
|
59
|
+
disable = 0,
|
|
60
|
+
prefer = 1,
|
|
61
|
+
require = 2
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
export enum ServerCompatibilityMode {
|
|
66
|
+
none = 0,
|
|
67
|
+
redshift = 1,
|
|
68
|
+
noTypeLoading = 2
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
export enum SslMode {
|
|
73
|
+
disable = 0,
|
|
74
|
+
allow = 1,
|
|
75
|
+
prefer = 2,
|
|
76
|
+
require = 3,
|
|
77
|
+
verifyCA = 4,
|
|
78
|
+
verifyFull = 5
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
export enum SslNegotiation {
|
|
83
|
+
postgres = 0,
|
|
84
|
+
direct = 1
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
export enum StatementType {
|
|
89
|
+
unknown_ = 0,
|
|
90
|
+
select = 1,
|
|
91
|
+
insert = 2,
|
|
92
|
+
delete_ = 3,
|
|
93
|
+
update = 4,
|
|
94
|
+
createTableAs = 5,
|
|
95
|
+
move = 6,
|
|
96
|
+
fetch = 7,
|
|
97
|
+
copy = 8,
|
|
98
|
+
other = 9,
|
|
99
|
+
merge = 10,
|
|
100
|
+
call = 11
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
export enum TargetSessionAttributes {
|
|
105
|
+
any_ = 0,
|
|
106
|
+
readWrite = 1,
|
|
107
|
+
readOnly = 2,
|
|
108
|
+
primary = 3,
|
|
109
|
+
standby = 4,
|
|
110
|
+
preferPrimary = 5,
|
|
111
|
+
preferStandby = 6
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
export type NoticeEventHandler = (sender: unknown, e: NpgsqlNoticeEventArgs) => void;
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
export type NotificationEventHandler = (sender: unknown, e: NpgsqlNotificationEventArgs) => void;
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
export type NpgsqlRowUpdatedEventHandler = (sender: unknown, e: NpgsqlRowUpdatedEventArgs) => void;
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
export type NpgsqlRowUpdatingEventHandler = (sender: unknown, e: NpgsqlRowUpdatingEventArgs) => void;
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
export type ProvideClientCertificatesCallback = (certificates: X509CertificateCollection) => void;
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
export type ProvidePasswordCallback = (host: string, port: int, database: string, username: string) => string;
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
export interface INpgsqlNameTranslator$instance {
|
|
134
|
+
translateTypeName(clrName: string): string;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
export type INpgsqlNameTranslator = INpgsqlNameTranslator$instance;
|
|
139
|
+
|
|
140
|
+
export interface NpgsqlBatch$instance extends DbBatch {
|
|
141
|
+
readonly batchCommands: NpgsqlBatchCommandCollection;
|
|
142
|
+
get connection(): NpgsqlConnection | undefined;
|
|
143
|
+
set connection(value: NpgsqlConnection);
|
|
144
|
+
enableErrorBarriers: boolean;
|
|
145
|
+
timeout: int;
|
|
146
|
+
get transaction(): NpgsqlTransaction | undefined;
|
|
147
|
+
set transaction(value: NpgsqlTransaction);
|
|
148
|
+
cancel(): void;
|
|
149
|
+
createBatchCommand(): NpgsqlBatchCommand;
|
|
150
|
+
dispose(): void;
|
|
151
|
+
executeNonQuery(): int;
|
|
152
|
+
executeNonQueryAsync(cancellationToken?: CancellationToken): Task<System_Internal.Int32>;
|
|
153
|
+
executeReader(behavior?: CommandBehavior): NpgsqlDataReader;
|
|
154
|
+
executeReaderAsync(cancellationToken?: CancellationToken): Task<NpgsqlDataReader>;
|
|
155
|
+
executeReaderAsync(behavior: CommandBehavior, cancellationToken?: CancellationToken): Task<NpgsqlDataReader>;
|
|
156
|
+
executeScalar(): unknown | undefined;
|
|
157
|
+
executeScalarAsync(cancellationToken?: CancellationToken): Task<unknown | undefined>;
|
|
158
|
+
prepare(): void;
|
|
159
|
+
prepareAsync(cancellationToken?: CancellationToken): Task;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
|
|
163
|
+
export const NpgsqlBatch: {
|
|
164
|
+
new(connection: NpgsqlConnection, transaction: NpgsqlTransaction): NpgsqlBatch;
|
|
165
|
+
};
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
export type NpgsqlBatch = NpgsqlBatch$instance;
|
|
169
|
+
|
|
170
|
+
export interface NpgsqlBatchCommand$instance extends DbBatchCommand {
|
|
171
|
+
appendErrorBarrier: Nullable<System_Internal.Boolean>;
|
|
172
|
+
readonly canCreateParameter: boolean;
|
|
173
|
+
commandText: string;
|
|
174
|
+
commandType: CommandType;
|
|
175
|
+
readonly OID: uint;
|
|
176
|
+
readonly parameters: NpgsqlParameterCollection;
|
|
177
|
+
readonly recordsAffected: int;
|
|
178
|
+
readonly rows: ulong;
|
|
179
|
+
readonly statementType: StatementType;
|
|
180
|
+
createParameter(): NpgsqlParameter;
|
|
181
|
+
toString(): string;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
|
|
185
|
+
export const NpgsqlBatchCommand: {
|
|
186
|
+
new(): NpgsqlBatchCommand;
|
|
187
|
+
new(commandText: string): NpgsqlBatchCommand;
|
|
188
|
+
};
|
|
189
|
+
|
|
190
|
+
|
|
191
|
+
export type NpgsqlBatchCommand = NpgsqlBatchCommand$instance;
|
|
192
|
+
|
|
193
|
+
export interface NpgsqlBatchCommandCollection$instance extends DbBatchCommandCollection {
|
|
194
|
+
readonly count: int;
|
|
195
|
+
readonly isReadOnly: boolean;
|
|
196
|
+
item: NpgsqlBatchCommand;
|
|
197
|
+
add(item: NpgsqlBatchCommand): void;
|
|
198
|
+
add(item: DbBatchCommand): void;
|
|
199
|
+
clear(): void;
|
|
200
|
+
contains(item: NpgsqlBatchCommand): boolean;
|
|
201
|
+
contains(item: DbBatchCommand): boolean;
|
|
202
|
+
copyTo(array: NpgsqlBatchCommand[], arrayIndex: int): void;
|
|
203
|
+
copyTo(array: DbBatchCommand[], arrayIndex: int): void;
|
|
204
|
+
getEnumerator(): IEnumerator__System_Collections_Generic<DbBatchCommand>;
|
|
205
|
+
indexOf(item: NpgsqlBatchCommand): int;
|
|
206
|
+
indexOf(item: DbBatchCommand): int;
|
|
207
|
+
insert(index: int, item: NpgsqlBatchCommand): void;
|
|
208
|
+
insert(index: int, item: DbBatchCommand): void;
|
|
209
|
+
remove(item: NpgsqlBatchCommand): boolean;
|
|
210
|
+
remove(item: DbBatchCommand): boolean;
|
|
211
|
+
removeAt(index: int): void;
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
|
|
215
|
+
export const NpgsqlBatchCommandCollection: {
|
|
216
|
+
new(): NpgsqlBatchCommandCollection;
|
|
217
|
+
};
|
|
218
|
+
|
|
219
|
+
|
|
220
|
+
export type NpgsqlBatchCommandCollection = NpgsqlBatchCommandCollection$instance;
|
|
221
|
+
|
|
222
|
+
export interface NpgsqlBinaryExporter$instance {
|
|
223
|
+
readonly isNull: boolean;
|
|
224
|
+
timeout: TimeSpan;
|
|
225
|
+
cancel(): void;
|
|
226
|
+
cancelAsync(): Task;
|
|
227
|
+
dispose(): void;
|
|
228
|
+
disposeAsync(): ValueTask;
|
|
229
|
+
read<T>(): T;
|
|
230
|
+
read<T>(type_: NpgsqlDbType): T;
|
|
231
|
+
readAsync<T>(cancellationToken?: CancellationToken): ValueTask<T>;
|
|
232
|
+
readAsync<T>(type_: NpgsqlDbType, cancellationToken?: CancellationToken): ValueTask<T>;
|
|
233
|
+
skip(): void;
|
|
234
|
+
skipAsync(cancellationToken?: CancellationToken): Task;
|
|
235
|
+
startRow(): int;
|
|
236
|
+
startRowAsync(cancellationToken?: CancellationToken): ValueTask<System_Internal.Int32>;
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
|
|
240
|
+
export const NpgsqlBinaryExporter: {
|
|
241
|
+
new(): NpgsqlBinaryExporter;
|
|
242
|
+
};
|
|
243
|
+
|
|
244
|
+
|
|
245
|
+
export type NpgsqlBinaryExporter = NpgsqlBinaryExporter$instance;
|
|
246
|
+
|
|
247
|
+
export interface NpgsqlBinaryImporter$instance {
|
|
248
|
+
timeout: TimeSpan;
|
|
249
|
+
close(): void;
|
|
250
|
+
closeAsync(cancellationToken?: CancellationToken): ValueTask;
|
|
251
|
+
complete(): ulong;
|
|
252
|
+
completeAsync(cancellationToken?: CancellationToken): ValueTask<System_Internal.UInt64>;
|
|
253
|
+
dispose(): void;
|
|
254
|
+
disposeAsync(): ValueTask;
|
|
255
|
+
startRow(): void;
|
|
256
|
+
startRowAsync(cancellationToken?: CancellationToken): Task;
|
|
257
|
+
write<T>(value: T): void;
|
|
258
|
+
write<T>(value: T, npgsqlDbType: NpgsqlDbType): void;
|
|
259
|
+
write<T>(value: T, dataTypeName: string): void;
|
|
260
|
+
writeAsync<T>(value: T, cancellationToken?: CancellationToken): Task;
|
|
261
|
+
writeAsync<T>(value: T, npgsqlDbType: NpgsqlDbType, cancellationToken?: CancellationToken): Task;
|
|
262
|
+
writeAsync<T>(value: T, dataTypeName: string, cancellationToken?: CancellationToken): Task;
|
|
263
|
+
writeNull(): void;
|
|
264
|
+
writeNullAsync(cancellationToken?: CancellationToken): Task;
|
|
265
|
+
writeRow(...values: unknown[]): void;
|
|
266
|
+
writeRowAsync(cancellationToken?: CancellationToken, ...values: unknown[]): Task;
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
|
|
270
|
+
export const NpgsqlBinaryImporter: {
|
|
271
|
+
new(): NpgsqlBinaryImporter;
|
|
272
|
+
};
|
|
273
|
+
|
|
274
|
+
|
|
275
|
+
export type NpgsqlBinaryImporter = NpgsqlBinaryImporter$instance;
|
|
276
|
+
|
|
277
|
+
export interface NpgsqlCommand$instance extends DbCommand {
|
|
278
|
+
allResultTypesAreUnknown: boolean;
|
|
279
|
+
commandText: string;
|
|
280
|
+
commandTimeout: int;
|
|
281
|
+
commandType: CommandType;
|
|
282
|
+
get connection(): NpgsqlConnection | undefined;
|
|
283
|
+
set connection(value: NpgsqlConnection);
|
|
284
|
+
designTimeVisible: boolean;
|
|
285
|
+
readonly isPrepared: boolean;
|
|
286
|
+
readonly parameters: NpgsqlParameterCollection;
|
|
287
|
+
readonly statements: IReadOnlyList<NpgsqlBatchCommand>;
|
|
288
|
+
get transaction(): NpgsqlTransaction | undefined;
|
|
289
|
+
set transaction(value: NpgsqlTransaction);
|
|
290
|
+
get unknownResultTypeList(): boolean[] | undefined;
|
|
291
|
+
set unknownResultTypeList(value: boolean[]);
|
|
292
|
+
updatedRowSource: UpdateRowSource;
|
|
293
|
+
cancel(): void;
|
|
294
|
+
clone(): NpgsqlCommand;
|
|
295
|
+
createParameter(): NpgsqlParameter;
|
|
296
|
+
executeNonQuery(): int;
|
|
297
|
+
executeNonQueryAsync(cancellationToken: CancellationToken): Task<System_Internal.Int32>;
|
|
298
|
+
executeReader(behavior?: CommandBehavior): NpgsqlDataReader;
|
|
299
|
+
executeReaderAsync(cancellationToken?: CancellationToken): Task<NpgsqlDataReader>;
|
|
300
|
+
executeReaderAsync(behavior: CommandBehavior, cancellationToken?: CancellationToken): Task<NpgsqlDataReader>;
|
|
301
|
+
executeScalar(): unknown | undefined;
|
|
302
|
+
executeScalarAsync(cancellationToken: CancellationToken): Task<unknown | undefined>;
|
|
303
|
+
prepare(): void;
|
|
304
|
+
prepareAsync(cancellationToken?: CancellationToken): Task;
|
|
305
|
+
unprepare(): void;
|
|
306
|
+
unprepareAsync(cancellationToken?: CancellationToken): Task;
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
|
|
310
|
+
export const NpgsqlCommand: {
|
|
311
|
+
new(): NpgsqlCommand;
|
|
312
|
+
new(cmdText: string): NpgsqlCommand;
|
|
313
|
+
new(cmdText: string, connection: NpgsqlConnection): NpgsqlCommand;
|
|
314
|
+
new(cmdText: string, connection: NpgsqlConnection, transaction: NpgsqlTransaction): NpgsqlCommand;
|
|
315
|
+
};
|
|
316
|
+
|
|
317
|
+
|
|
318
|
+
export type NpgsqlCommand = NpgsqlCommand$instance;
|
|
319
|
+
|
|
320
|
+
export interface NpgsqlCommandBuilder$instance extends DbCommandBuilder {
|
|
321
|
+
quotePrefix: string;
|
|
322
|
+
quoteSuffix: string;
|
|
323
|
+
getDeleteCommand(): NpgsqlCommand;
|
|
324
|
+
getDeleteCommand(useColumnsForParameterNames: boolean): NpgsqlCommand;
|
|
325
|
+
getInsertCommand(): NpgsqlCommand;
|
|
326
|
+
getInsertCommand(useColumnsForParameterNames: boolean): NpgsqlCommand;
|
|
327
|
+
getUpdateCommand(): NpgsqlCommand;
|
|
328
|
+
getUpdateCommand(useColumnsForParameterNames: boolean): NpgsqlCommand;
|
|
329
|
+
quoteIdentifier(unquotedIdentifier: string): string;
|
|
330
|
+
unquoteIdentifier(quotedIdentifier: string): string;
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
|
|
334
|
+
export const NpgsqlCommandBuilder: {
|
|
335
|
+
new(): NpgsqlCommandBuilder;
|
|
336
|
+
new(adapter: NpgsqlDataAdapter): NpgsqlCommandBuilder;
|
|
337
|
+
deriveParameters(command: NpgsqlCommand): void;
|
|
338
|
+
};
|
|
339
|
+
|
|
340
|
+
|
|
341
|
+
export type NpgsqlCommandBuilder = NpgsqlCommandBuilder$instance;
|
|
342
|
+
|
|
343
|
+
export interface NpgsqlConnection$instance extends DbConnection {
|
|
344
|
+
readonly canCreateBatch: boolean;
|
|
345
|
+
readonly commandTimeout: int;
|
|
346
|
+
connectionString: string;
|
|
347
|
+
readonly connectionTimeout: int;
|
|
348
|
+
readonly database: string;
|
|
349
|
+
readonly dataSource: string;
|
|
350
|
+
readonly fullState: ConnectionState;
|
|
351
|
+
readonly hasIntegerDateTimes: boolean;
|
|
352
|
+
readonly host: string | undefined;
|
|
353
|
+
readonly port: int;
|
|
354
|
+
readonly postgresParameters: IReadOnlyDictionary<System_Internal.String, System_Internal.String>;
|
|
355
|
+
readonly postgreSqlVersion: Version;
|
|
356
|
+
readonly processID: int;
|
|
357
|
+
get provideClientCertificatesCallback(): ProvideClientCertificatesCallback | undefined;
|
|
358
|
+
set provideClientCertificatesCallback(value: ProvideClientCertificatesCallback);
|
|
359
|
+
get providePasswordCallback(): ProvidePasswordCallback | undefined;
|
|
360
|
+
set providePasswordCallback(value: ProvidePasswordCallback);
|
|
361
|
+
readonly serverVersion: string;
|
|
362
|
+
get sslClientAuthenticationOptionsCallback(): Action<SslClientAuthenticationOptions> | undefined;
|
|
363
|
+
set sslClientAuthenticationOptionsCallback(value: Action<SslClientAuthenticationOptions>);
|
|
364
|
+
readonly state: ConnectionState;
|
|
365
|
+
readonly timezone: string;
|
|
366
|
+
readonly typeMapper: INpgsqlTypeMapper;
|
|
367
|
+
get userCertificateValidationCallback(): RemoteCertificateValidationCallback | undefined;
|
|
368
|
+
set userCertificateValidationCallback(value: RemoteCertificateValidationCallback);
|
|
369
|
+
readonly userName: string | undefined;
|
|
370
|
+
beginBinaryExport(copyToCommand: string): NpgsqlBinaryExporter;
|
|
371
|
+
beginBinaryExportAsync(copyToCommand: string, cancellationToken?: CancellationToken): Task<NpgsqlBinaryExporter>;
|
|
372
|
+
beginBinaryImport(copyFromCommand: string): NpgsqlBinaryImporter;
|
|
373
|
+
beginBinaryImportAsync(copyFromCommand: string, cancellationToken?: CancellationToken): Task<NpgsqlBinaryImporter>;
|
|
374
|
+
beginRawBinaryCopy(copyCommand: string): NpgsqlRawCopyStream;
|
|
375
|
+
beginRawBinaryCopyAsync(copyCommand: string, cancellationToken?: CancellationToken): Task<NpgsqlRawCopyStream>;
|
|
376
|
+
beginTextExport(copyToCommand: string): NpgsqlCopyTextReader;
|
|
377
|
+
beginTextExportAsync(copyToCommand: string, cancellationToken?: CancellationToken): Task<NpgsqlCopyTextReader>;
|
|
378
|
+
beginTextImport(copyFromCommand: string): NpgsqlCopyTextWriter;
|
|
379
|
+
beginTextImportAsync(copyFromCommand: string, cancellationToken?: CancellationToken): Task<NpgsqlCopyTextWriter>;
|
|
380
|
+
beginTransaction(): NpgsqlTransaction;
|
|
381
|
+
beginTransaction(level: IsolationLevel): NpgsqlTransaction;
|
|
382
|
+
beginTransactionAsync(cancellationToken?: CancellationToken): ValueTask<NpgsqlTransaction>;
|
|
383
|
+
beginTransactionAsync(level: IsolationLevel, cancellationToken?: CancellationToken): ValueTask<NpgsqlTransaction>;
|
|
384
|
+
changeDatabase(dbName: string): void;
|
|
385
|
+
cloneWith(connectionString: string): NpgsqlConnection;
|
|
386
|
+
cloneWithAsync(connectionString: string, cancellationToken?: CancellationToken): ValueTask<NpgsqlConnection>;
|
|
387
|
+
close(): void;
|
|
388
|
+
closeAsync(): Task;
|
|
389
|
+
createBatch(): NpgsqlBatch;
|
|
390
|
+
createCommand(): NpgsqlCommand;
|
|
391
|
+
disposeAsync(): ValueTask;
|
|
392
|
+
enlistTransaction(transaction: Transaction): void;
|
|
393
|
+
getSchema(): DataTable;
|
|
394
|
+
getSchema(collectionName: string): DataTable;
|
|
395
|
+
getSchema(collectionName: string, restrictions: string[]): DataTable;
|
|
396
|
+
getSchemaAsync(cancellationToken?: CancellationToken): Task<DataTable>;
|
|
397
|
+
getSchemaAsync(collectionName: string, cancellationToken?: CancellationToken): Task<DataTable>;
|
|
398
|
+
getSchemaAsync(collectionName: string, restrictions: string[], cancellationToken?: CancellationToken): Task<DataTable>;
|
|
399
|
+
open(): void;
|
|
400
|
+
openAsync(cancellationToken: CancellationToken): Task;
|
|
401
|
+
reloadTypes(): void;
|
|
402
|
+
reloadTypesAsync(cancellationToken?: CancellationToken): Task;
|
|
403
|
+
unprepareAll(): void;
|
|
404
|
+
wait(timeout: int): boolean;
|
|
405
|
+
wait(timeout: TimeSpan): boolean;
|
|
406
|
+
wait(): void;
|
|
407
|
+
waitAsync(timeout: int, cancellationToken?: CancellationToken): Task<System_Internal.Boolean>;
|
|
408
|
+
waitAsync(timeout: TimeSpan, cancellationToken?: CancellationToken): Task<System_Internal.Boolean>;
|
|
409
|
+
waitAsync(cancellationToken?: CancellationToken): Task;
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
|
|
413
|
+
export const NpgsqlConnection: {
|
|
414
|
+
new(): NpgsqlConnection;
|
|
415
|
+
new(connectionString: string): NpgsqlConnection;
|
|
416
|
+
readonly defaultPort: int;
|
|
417
|
+
readonly globalTypeMapper: INpgsqlTypeMapper;
|
|
418
|
+
clearAllPools(): void;
|
|
419
|
+
clearPool(connection: NpgsqlConnection): void;
|
|
420
|
+
};
|
|
421
|
+
|
|
422
|
+
|
|
423
|
+
export type NpgsqlConnection = NpgsqlConnection$instance;
|
|
424
|
+
|
|
425
|
+
export interface NpgsqlConnectionStringBuilder$instance extends DbConnectionStringBuilder {
|
|
426
|
+
get applicationName(): string | undefined;
|
|
427
|
+
set applicationName(value: string);
|
|
428
|
+
arrayNullabilityMode: ArrayNullabilityMode;
|
|
429
|
+
autoPrepareMinUsages: int;
|
|
430
|
+
cancellationTimeout: int;
|
|
431
|
+
channelBinding: ChannelBinding;
|
|
432
|
+
checkCertificateRevocation: boolean;
|
|
433
|
+
get clientEncoding(): string | undefined;
|
|
434
|
+
set clientEncoding(value: string);
|
|
435
|
+
commandTimeout: int;
|
|
436
|
+
connectionIdleLifetime: int;
|
|
437
|
+
connectionLifetime: int;
|
|
438
|
+
connectionPruningInterval: int;
|
|
439
|
+
get database(): string | undefined;
|
|
440
|
+
set database(value: string);
|
|
441
|
+
encoding: string;
|
|
442
|
+
enlist: boolean;
|
|
443
|
+
gssEncryptionMode: GssEncryptionMode;
|
|
444
|
+
get host(): string | undefined;
|
|
445
|
+
set host(value: string);
|
|
446
|
+
hostRecheckSeconds: int;
|
|
447
|
+
includeErrorDetail: boolean;
|
|
448
|
+
includeFailedBatchedCommand: boolean;
|
|
449
|
+
includeRealm: boolean;
|
|
450
|
+
internalCommandTimeout: int;
|
|
451
|
+
item: unknown;
|
|
452
|
+
keepAlive: int;
|
|
453
|
+
kerberosServiceName: string;
|
|
454
|
+
readonly keys: ICollection__System_Collections_Generic<System_Internal.String>;
|
|
455
|
+
loadBalanceHosts: boolean;
|
|
456
|
+
loadTableComposites: boolean;
|
|
457
|
+
logParameters: boolean;
|
|
458
|
+
maxAutoPrepare: int;
|
|
459
|
+
maxPoolSize: int;
|
|
460
|
+
minPoolSize: int;
|
|
461
|
+
multiplexing: boolean;
|
|
462
|
+
noResetOnClose: boolean;
|
|
463
|
+
get options(): string | undefined;
|
|
464
|
+
set options(value: string);
|
|
465
|
+
get passfile(): string | undefined;
|
|
466
|
+
set passfile(value: string);
|
|
467
|
+
get password(): string | undefined;
|
|
468
|
+
set password(value: string);
|
|
469
|
+
persistSecurityInfo: boolean;
|
|
470
|
+
pooling: boolean;
|
|
471
|
+
port: int;
|
|
472
|
+
readBufferSize: int;
|
|
473
|
+
get requireAuth(): string | undefined;
|
|
474
|
+
set requireAuth(value: string);
|
|
475
|
+
get rootCertificate(): string | undefined;
|
|
476
|
+
set rootCertificate(value: string);
|
|
477
|
+
get searchPath(): string | undefined;
|
|
478
|
+
set searchPath(value: string);
|
|
479
|
+
serverCompatibilityMode: ServerCompatibilityMode;
|
|
480
|
+
socketReceiveBufferSize: int;
|
|
481
|
+
socketSendBufferSize: int;
|
|
482
|
+
get sslCertificate(): string | undefined;
|
|
483
|
+
set sslCertificate(value: string);
|
|
484
|
+
get sslKey(): string | undefined;
|
|
485
|
+
set sslKey(value: string);
|
|
486
|
+
sslMode: SslMode;
|
|
487
|
+
sslNegotiation: SslNegotiation;
|
|
488
|
+
get sslPassword(): string | undefined;
|
|
489
|
+
set sslPassword(value: string);
|
|
490
|
+
get targetSessionAttributes(): string | undefined;
|
|
491
|
+
set targetSessionAttributes(value: string);
|
|
492
|
+
tcpKeepAlive: boolean;
|
|
493
|
+
tcpKeepAliveInterval: int;
|
|
494
|
+
tcpKeepAliveTime: int;
|
|
495
|
+
timeout: int;
|
|
496
|
+
get timezone(): string | undefined;
|
|
497
|
+
set timezone(value: string);
|
|
498
|
+
trustServerCertificate: boolean;
|
|
499
|
+
get username(): string | undefined;
|
|
500
|
+
set username(value: string);
|
|
501
|
+
readonly values: ICollection__System_Collections_Generic<unknown | undefined>;
|
|
502
|
+
writeBufferSize: int;
|
|
503
|
+
writeCoalescingBufferThresholdBytes: int;
|
|
504
|
+
add(item: KeyValuePair<System_Internal.String, unknown>): void;
|
|
505
|
+
clear(): void;
|
|
506
|
+
contains(item: KeyValuePair<System_Internal.String, unknown>): boolean;
|
|
507
|
+
containsKey(keyword: string): boolean;
|
|
508
|
+
copyTo(array: KeyValuePair<System_Internal.String, unknown>[], arrayIndex: int): void;
|
|
509
|
+
equals(obj: unknown): boolean;
|
|
510
|
+
getEnumerator(): IEnumerator__System_Collections_Generic<KeyValuePair<System_Internal.String, unknown>>;
|
|
511
|
+
getHashCode(): int;
|
|
512
|
+
remove(keyword: string): boolean;
|
|
513
|
+
remove(item: KeyValuePair<System_Internal.String, unknown>): boolean;
|
|
514
|
+
tryGetValue(keyword: string, value: unknown): boolean;
|
|
515
|
+
}
|
|
516
|
+
|
|
517
|
+
|
|
518
|
+
export const NpgsqlConnectionStringBuilder: {
|
|
519
|
+
new(): NpgsqlConnectionStringBuilder;
|
|
520
|
+
new(useOdbcRules: boolean): NpgsqlConnectionStringBuilder;
|
|
521
|
+
new(connectionString: string): NpgsqlConnectionStringBuilder;
|
|
522
|
+
};
|
|
523
|
+
|
|
524
|
+
|
|
525
|
+
export type NpgsqlConnectionStringBuilder = NpgsqlConnectionStringBuilder$instance;
|
|
526
|
+
|
|
527
|
+
export interface NpgsqlCopyTextReader$instance extends StreamReader {
|
|
528
|
+
timeout: int;
|
|
529
|
+
cancel(): void;
|
|
530
|
+
cancelAsync(): Task;
|
|
531
|
+
disposeAsync(): ValueTask;
|
|
532
|
+
}
|
|
533
|
+
|
|
534
|
+
|
|
535
|
+
export const NpgsqlCopyTextReader: {
|
|
536
|
+
new(): NpgsqlCopyTextReader;
|
|
537
|
+
};
|
|
538
|
+
|
|
539
|
+
|
|
540
|
+
export type NpgsqlCopyTextReader = NpgsqlCopyTextReader$instance;
|
|
541
|
+
|
|
542
|
+
export interface NpgsqlCopyTextWriter$instance extends StreamWriter {
|
|
543
|
+
timeout: int;
|
|
544
|
+
cancel(): void;
|
|
545
|
+
cancelAsync(): Task;
|
|
546
|
+
}
|
|
547
|
+
|
|
548
|
+
|
|
549
|
+
export const NpgsqlCopyTextWriter: {
|
|
550
|
+
new(): NpgsqlCopyTextWriter;
|
|
551
|
+
};
|
|
552
|
+
|
|
553
|
+
|
|
554
|
+
export type NpgsqlCopyTextWriter = NpgsqlCopyTextWriter$instance;
|
|
555
|
+
|
|
556
|
+
export interface NpgsqlDataAdapter$instance extends DbDataAdapter {
|
|
557
|
+
get deleteCommand(): NpgsqlCommand | undefined;
|
|
558
|
+
set deleteCommand(value: NpgsqlCommand);
|
|
559
|
+
get insertCommand(): NpgsqlCommand | undefined;
|
|
560
|
+
set insertCommand(value: NpgsqlCommand);
|
|
561
|
+
get selectCommand(): NpgsqlCommand | undefined;
|
|
562
|
+
set selectCommand(value: NpgsqlCommand);
|
|
563
|
+
get updateCommand(): NpgsqlCommand | undefined;
|
|
564
|
+
set updateCommand(value: NpgsqlCommand);
|
|
565
|
+
}
|
|
566
|
+
|
|
567
|
+
|
|
568
|
+
export const NpgsqlDataAdapter: {
|
|
569
|
+
new(): NpgsqlDataAdapter;
|
|
570
|
+
new(selectCommand: NpgsqlCommand): NpgsqlDataAdapter;
|
|
571
|
+
new(selectCommandText: string, selectConnection: NpgsqlConnection): NpgsqlDataAdapter;
|
|
572
|
+
new(selectCommandText: string, selectConnectionString: string): NpgsqlDataAdapter;
|
|
573
|
+
};
|
|
574
|
+
|
|
575
|
+
|
|
576
|
+
export type NpgsqlDataAdapter = NpgsqlDataAdapter$instance;
|
|
577
|
+
|
|
578
|
+
export interface NpgsqlDataReader$instance extends DbDataReader {
|
|
579
|
+
readonly depth: int;
|
|
580
|
+
readonly fieldCount: int;
|
|
581
|
+
readonly hasRows: boolean;
|
|
582
|
+
readonly isClosed: boolean;
|
|
583
|
+
readonly isOnRow: boolean;
|
|
584
|
+
readonly recordsAffected: int;
|
|
585
|
+
readonly rows: ulong;
|
|
586
|
+
readonly statements: IReadOnlyList<NpgsqlBatchCommand>;
|
|
587
|
+
close(): void;
|
|
588
|
+
closeAsync(): Task;
|
|
589
|
+
disposeAsync(): ValueTask;
|
|
590
|
+
get_Item(ordinal: int): unknown;
|
|
591
|
+
get_Item(name: string): unknown;
|
|
592
|
+
getBoolean(ordinal: int): boolean;
|
|
593
|
+
getByte(ordinal: int): byte;
|
|
594
|
+
getBytes(ordinal: int, dataOffset: long, buffer: byte[], bufferOffset: int, length: int): long;
|
|
595
|
+
getChar(ordinal: int): char;
|
|
596
|
+
getChars(ordinal: int, dataOffset: long, buffer: char[], bufferOffset: int, length: int): long;
|
|
597
|
+
getColumnSchema(): ReadOnlyCollection<NpgsqlDbColumn>;
|
|
598
|
+
getColumnSchemaAsync(cancellationToken?: CancellationToken): Task<ReadOnlyCollection<DbColumn>>;
|
|
599
|
+
getData(ordinal: int): NpgsqlNestedDataReader;
|
|
600
|
+
getDataTypeName(ordinal: int): string;
|
|
601
|
+
getDataTypeOID(ordinal: int): uint;
|
|
602
|
+
getDateTime(ordinal: int): DateTime;
|
|
603
|
+
getDecimal(ordinal: int): decimal;
|
|
604
|
+
getDouble(ordinal: int): double;
|
|
605
|
+
getEnumerator(): IEnumerator;
|
|
606
|
+
getFieldType(ordinal: int): Type;
|
|
607
|
+
getFieldValue<T>(ordinal: int): T;
|
|
608
|
+
getFieldValueAsync<T>(ordinal: int, cancellationToken: CancellationToken): Task<T>;
|
|
609
|
+
getFloat(ordinal: int): float;
|
|
610
|
+
getGuid(ordinal: int): Guid;
|
|
611
|
+
getInt16(ordinal: int): short;
|
|
612
|
+
getInt32(ordinal: int): int;
|
|
613
|
+
getInt64(ordinal: int): long;
|
|
614
|
+
getName(ordinal: int): string;
|
|
615
|
+
getOrdinal(name: string): int;
|
|
616
|
+
getPostgresType(ordinal: int): PostgresType;
|
|
617
|
+
getSchemaTable(): DataTable | undefined;
|
|
618
|
+
getSchemaTableAsync(cancellationToken?: CancellationToken): Task<DataTable | undefined>;
|
|
619
|
+
getStream(ordinal: int): Stream;
|
|
620
|
+
getStreamAsync(ordinal: int, cancellationToken?: CancellationToken): Task<Stream>;
|
|
621
|
+
getString(ordinal: int): string;
|
|
622
|
+
getTextReader(ordinal: int): TextReader;
|
|
623
|
+
getTextReaderAsync(ordinal: int, cancellationToken?: CancellationToken): Task<TextReader>;
|
|
624
|
+
getTimeSpan(ordinal: int): TimeSpan;
|
|
625
|
+
getValue(ordinal: int): unknown;
|
|
626
|
+
getValues(values: unknown[]): int;
|
|
627
|
+
isDBNull(ordinal: int): boolean;
|
|
628
|
+
isDBNullAsync(ordinal: int, cancellationToken: CancellationToken): Task<System_Internal.Boolean>;
|
|
629
|
+
nextResult(): boolean;
|
|
630
|
+
nextResultAsync(cancellationToken: CancellationToken): Task<System_Internal.Boolean>;
|
|
631
|
+
read(): boolean;
|
|
632
|
+
readAsync(cancellationToken: CancellationToken): Task<System_Internal.Boolean>;
|
|
633
|
+
}
|
|
634
|
+
|
|
635
|
+
|
|
636
|
+
export const NpgsqlDataReader: {
|
|
637
|
+
new(): NpgsqlDataReader;
|
|
638
|
+
};
|
|
639
|
+
|
|
640
|
+
|
|
641
|
+
export type NpgsqlDataReader = NpgsqlDataReader$instance;
|
|
642
|
+
|
|
643
|
+
export interface NpgsqlDataSource$instance extends DbDataSource {
|
|
644
|
+
readonly connectionString: string;
|
|
645
|
+
password: string;
|
|
646
|
+
clear(): void;
|
|
647
|
+
createBatch(): NpgsqlBatch;
|
|
648
|
+
createCommand(commandText?: string): NpgsqlCommand;
|
|
649
|
+
createConnection(): NpgsqlConnection;
|
|
650
|
+
openConnection(): NpgsqlConnection;
|
|
651
|
+
openConnectionAsync(cancellationToken?: CancellationToken): ValueTask<NpgsqlConnection>;
|
|
652
|
+
reloadTypes(): void;
|
|
653
|
+
reloadTypesAsync(cancellationToken?: CancellationToken): Task;
|
|
654
|
+
}
|
|
655
|
+
|
|
656
|
+
|
|
657
|
+
export const NpgsqlDataSource: {
|
|
658
|
+
create(connectionStringBuilder: NpgsqlConnectionStringBuilder): NpgsqlDataSource;
|
|
659
|
+
create(connectionString: string): NpgsqlDataSource;
|
|
660
|
+
};
|
|
661
|
+
|
|
662
|
+
|
|
663
|
+
export type NpgsqlDataSource = NpgsqlDataSource$instance;
|
|
664
|
+
|
|
665
|
+
export interface NpgsqlDataSourceBuilder$instance {
|
|
666
|
+
readonly connectionString: string;
|
|
667
|
+
readonly connectionStringBuilder: NpgsqlConnectionStringBuilder;
|
|
668
|
+
defaultNameTranslator: INpgsqlNameTranslator;
|
|
669
|
+
name: string;
|
|
670
|
+
addTypeInfoResolverFactory(factory: PgTypeInfoResolverFactory): void;
|
|
671
|
+
build(): NpgsqlDataSource;
|
|
672
|
+
buildMultiHost(): NpgsqlMultiHostDataSource;
|
|
673
|
+
configureJsonOptions(serializerOptions: JsonSerializerOptions): NpgsqlDataSourceBuilder;
|
|
674
|
+
configureTracing(configureAction: Action<NpgsqlTracingOptionsBuilder>): NpgsqlDataSourceBuilder;
|
|
675
|
+
configureTypeLoading(configureAction: Action<NpgsqlTypeLoadingOptionsBuilder>): NpgsqlDataSourceBuilder;
|
|
676
|
+
enableDynamicJson(jsonbClrTypes?: Type[], jsonClrTypes?: Type[]): NpgsqlDataSourceBuilder;
|
|
677
|
+
enableParameterLogging(parameterLoggingEnabled?: boolean): NpgsqlDataSourceBuilder;
|
|
678
|
+
enableRecordsAsTuples(): NpgsqlDataSourceBuilder;
|
|
679
|
+
enableUnmappedTypes(): NpgsqlDataSourceBuilder;
|
|
680
|
+
mapComposite<T>(pgName?: string, nameTranslator?: INpgsqlNameTranslator): NpgsqlDataSourceBuilder;
|
|
681
|
+
mapComposite(clrType: Type, pgName?: string, nameTranslator?: INpgsqlNameTranslator): NpgsqlDataSourceBuilder;
|
|
682
|
+
mapEnum<TEnum extends number>(pgName?: string, nameTranslator?: INpgsqlNameTranslator): NpgsqlDataSourceBuilder;
|
|
683
|
+
mapEnum(clrType: Type, pgName?: string, nameTranslator?: INpgsqlNameTranslator): NpgsqlDataSourceBuilder;
|
|
684
|
+
unmapComposite<T>(pgName?: string, nameTranslator?: INpgsqlNameTranslator): boolean;
|
|
685
|
+
unmapComposite(clrType: Type, pgName?: string, nameTranslator?: INpgsqlNameTranslator): boolean;
|
|
686
|
+
unmapEnum<TEnum extends number>(pgName?: string, nameTranslator?: INpgsqlNameTranslator): boolean;
|
|
687
|
+
unmapEnum(clrType: Type, pgName?: string, nameTranslator?: INpgsqlNameTranslator): boolean;
|
|
688
|
+
useClientCertificate(clientCertificate: X509Certificate): NpgsqlDataSourceBuilder;
|
|
689
|
+
useClientCertificates(clientCertificates: X509CertificateCollection): NpgsqlDataSourceBuilder;
|
|
690
|
+
useClientCertificatesCallback(clientCertificatesCallback: Action<X509CertificateCollection>): NpgsqlDataSourceBuilder;
|
|
691
|
+
useLoggerFactory(loggerFactory: ILoggerFactory): NpgsqlDataSourceBuilder;
|
|
692
|
+
useNegotiateOptionsCallback(negotiateOptionsCallback: Action<NegotiateAuthenticationClientOptions>): NpgsqlDataSourceBuilder;
|
|
693
|
+
usePasswordProvider(passwordProvider: Func<NpgsqlConnectionStringBuilder, System_Internal.String>, passwordProviderAsync: Func<NpgsqlConnectionStringBuilder, CancellationToken, ValueTask<System_Internal.String>>): NpgsqlDataSourceBuilder;
|
|
694
|
+
usePeriodicPasswordProvider(passwordProvider: Func<NpgsqlConnectionStringBuilder, CancellationToken, ValueTask<System_Internal.String>>, successRefreshInterval: TimeSpan, failureRefreshInterval: TimeSpan): NpgsqlDataSourceBuilder;
|
|
695
|
+
usePhysicalConnectionInitializer(connectionInitializer: Action<NpgsqlConnection>, connectionInitializerAsync: Func<NpgsqlConnection, Task>): NpgsqlDataSourceBuilder;
|
|
696
|
+
useRootCertificate(rootCertificate: X509Certificate2): NpgsqlDataSourceBuilder;
|
|
697
|
+
useRootCertificateCallback(rootCertificateCallback: Func<X509Certificate2>): NpgsqlDataSourceBuilder;
|
|
698
|
+
useRootCertificates(rootCertificates: X509Certificate2Collection): NpgsqlDataSourceBuilder;
|
|
699
|
+
useRootCertificatesCallback(rootCertificateCallback: Func<X509Certificate2Collection>): NpgsqlDataSourceBuilder;
|
|
700
|
+
useSslClientAuthenticationOptionsCallback(sslClientAuthenticationOptionsCallback: Action<SslClientAuthenticationOptions>): NpgsqlDataSourceBuilder;
|
|
701
|
+
useUserCertificateValidationCallback(userCertificateValidationCallback: RemoteCertificateValidationCallback): NpgsqlDataSourceBuilder;
|
|
702
|
+
}
|
|
703
|
+
|
|
704
|
+
|
|
705
|
+
export const NpgsqlDataSourceBuilder: {
|
|
706
|
+
new(connectionString: string): NpgsqlDataSourceBuilder;
|
|
707
|
+
};
|
|
708
|
+
|
|
709
|
+
|
|
710
|
+
export interface __NpgsqlDataSourceBuilder$views {
|
|
711
|
+
As_INpgsqlTypeMapper(): Npgsql_TypeMapping_Internal.INpgsqlTypeMapper$instance;
|
|
712
|
+
}
|
|
713
|
+
|
|
714
|
+
export type NpgsqlDataSourceBuilder = NpgsqlDataSourceBuilder$instance & __NpgsqlDataSourceBuilder$views;
|
|
715
|
+
|
|
716
|
+
|
|
717
|
+
export interface NpgsqlException$instance extends DbException {
|
|
718
|
+
get batchCommand(): NpgsqlBatchCommand | undefined;
|
|
719
|
+
set batchCommand(value: NpgsqlBatchCommand);
|
|
720
|
+
readonly isTransient: boolean;
|
|
721
|
+
}
|
|
722
|
+
|
|
723
|
+
|
|
724
|
+
export const NpgsqlException: {
|
|
725
|
+
new(): NpgsqlException;
|
|
726
|
+
new(message: string, innerException: Exception): NpgsqlException;
|
|
727
|
+
new(message: string): NpgsqlException;
|
|
728
|
+
};
|
|
729
|
+
|
|
730
|
+
|
|
731
|
+
export type NpgsqlException = NpgsqlException$instance;
|
|
732
|
+
|
|
733
|
+
export interface NpgsqlFactory$instance extends DbProviderFactory {
|
|
734
|
+
readonly canCreateBatch: boolean;
|
|
735
|
+
readonly canCreateCommandBuilder: boolean;
|
|
736
|
+
readonly canCreateDataAdapter: boolean;
|
|
737
|
+
createBatch(): DbBatch;
|
|
738
|
+
createBatchCommand(): DbBatchCommand;
|
|
739
|
+
createCommand(): DbCommand;
|
|
740
|
+
createCommandBuilder(): DbCommandBuilder;
|
|
741
|
+
createConnection(): DbConnection;
|
|
742
|
+
createConnectionStringBuilder(): DbConnectionStringBuilder;
|
|
743
|
+
createDataAdapter(): DbDataAdapter;
|
|
744
|
+
createDataSource(connectionString: string): DbDataSource;
|
|
745
|
+
createParameter(): DbParameter;
|
|
746
|
+
getService(serviceType: Type): unknown | undefined;
|
|
747
|
+
}
|
|
748
|
+
|
|
749
|
+
|
|
750
|
+
export const NpgsqlFactory: {
|
|
751
|
+
new(): NpgsqlFactory;
|
|
752
|
+
readonly instance: NpgsqlFactory;
|
|
753
|
+
};
|
|
754
|
+
|
|
755
|
+
|
|
756
|
+
export type NpgsqlFactory = NpgsqlFactory$instance;
|
|
757
|
+
|
|
758
|
+
export interface NpgsqlLargeObjectManager$instance {
|
|
759
|
+
readonly has64BitSupport: boolean;
|
|
760
|
+
maxTransferBlockSize: int;
|
|
761
|
+
create(preferredOid?: uint): uint;
|
|
762
|
+
createAsync(preferredOid: uint, cancellationToken?: CancellationToken): Task<System_Internal.UInt32>;
|
|
763
|
+
exportRemote(oid: uint, path: string): void;
|
|
764
|
+
exportRemoteAsync(oid: uint, path: string, cancellationToken?: CancellationToken): Task;
|
|
765
|
+
importRemote(path: string, oid?: uint): void;
|
|
766
|
+
importRemoteAsync(path: string, oid: uint, cancellationToken?: CancellationToken): Task;
|
|
767
|
+
openRead(oid: uint): NpgsqlLargeObjectStream;
|
|
768
|
+
openReadAsync(oid: uint, cancellationToken?: CancellationToken): Task<NpgsqlLargeObjectStream>;
|
|
769
|
+
openReadWrite(oid: uint): NpgsqlLargeObjectStream;
|
|
770
|
+
openReadWriteAsync(oid: uint, cancellationToken?: CancellationToken): Task<NpgsqlLargeObjectStream>;
|
|
771
|
+
unlink(oid: uint): void;
|
|
772
|
+
unlinkAsync(oid: uint, cancellationToken?: CancellationToken): Task;
|
|
773
|
+
}
|
|
774
|
+
|
|
775
|
+
|
|
776
|
+
export const NpgsqlLargeObjectManager: {
|
|
777
|
+
new(connection: NpgsqlConnection): NpgsqlLargeObjectManager;
|
|
778
|
+
};
|
|
779
|
+
|
|
780
|
+
|
|
781
|
+
export type NpgsqlLargeObjectManager = NpgsqlLargeObjectManager$instance;
|
|
782
|
+
|
|
783
|
+
export interface NpgsqlLargeObjectStream$instance extends Stream {
|
|
784
|
+
readonly canRead: boolean;
|
|
785
|
+
readonly canSeek: boolean;
|
|
786
|
+
readonly canTimeout: boolean;
|
|
787
|
+
readonly canWrite: boolean;
|
|
788
|
+
readonly has64BitSupport: boolean;
|
|
789
|
+
readonly length: long;
|
|
790
|
+
position: long;
|
|
791
|
+
close(): void;
|
|
792
|
+
flush(): void;
|
|
793
|
+
getLengthAsync(cancellationToken?: CancellationToken): Task<System_Internal.Int64>;
|
|
794
|
+
read(buffer: byte[], offset: int, count: int): int;
|
|
795
|
+
readAsync(buffer: byte[], offset: int, count: int, cancellationToken: CancellationToken): Task<System_Internal.Int32>;
|
|
796
|
+
seek(offset: long, origin: SeekOrigin): long;
|
|
797
|
+
seekAsync(offset: long, origin: SeekOrigin, cancellationToken?: CancellationToken): Task<System_Internal.Int64>;
|
|
798
|
+
setLength(value: long): void;
|
|
799
|
+
setLength(value: long, cancellationToken: CancellationToken): Task;
|
|
800
|
+
write(buffer: byte[], offset: int, count: int): void;
|
|
801
|
+
writeAsync(buffer: byte[], offset: int, count: int, cancellationToken: CancellationToken): Task;
|
|
802
|
+
}
|
|
803
|
+
|
|
804
|
+
|
|
805
|
+
export const NpgsqlLargeObjectStream: {
|
|
806
|
+
new(): NpgsqlLargeObjectStream;
|
|
807
|
+
};
|
|
808
|
+
|
|
809
|
+
|
|
810
|
+
export type NpgsqlLargeObjectStream = NpgsqlLargeObjectStream$instance;
|
|
811
|
+
|
|
812
|
+
export interface NpgsqlLoggingConfiguration$instance {
|
|
813
|
+
}
|
|
814
|
+
|
|
815
|
+
|
|
816
|
+
export const NpgsqlLoggingConfiguration: {
|
|
817
|
+
new(): NpgsqlLoggingConfiguration;
|
|
818
|
+
initializeLogging(loggerFactory: ILoggerFactory, parameterLoggingEnabled?: boolean): void;
|
|
819
|
+
};
|
|
820
|
+
|
|
821
|
+
|
|
822
|
+
export type NpgsqlLoggingConfiguration = NpgsqlLoggingConfiguration$instance;
|
|
823
|
+
|
|
824
|
+
export interface NpgsqlMetricsOptions$instance {
|
|
825
|
+
}
|
|
826
|
+
|
|
827
|
+
|
|
828
|
+
export const NpgsqlMetricsOptions: {
|
|
829
|
+
new(): NpgsqlMetricsOptions;
|
|
830
|
+
};
|
|
831
|
+
|
|
832
|
+
|
|
833
|
+
export type NpgsqlMetricsOptions = NpgsqlMetricsOptions$instance;
|
|
834
|
+
|
|
835
|
+
export interface NpgsqlMultiHostDataSource$instance extends NpgsqlDataSource {
|
|
836
|
+
clear(): void;
|
|
837
|
+
clearDatabaseStates(): void;
|
|
838
|
+
createConnection(targetSessionAttributes: TargetSessionAttributes): NpgsqlConnection;
|
|
839
|
+
createConnection(): NpgsqlConnection;
|
|
840
|
+
openConnection(targetSessionAttributes: TargetSessionAttributes): NpgsqlConnection;
|
|
841
|
+
openConnection(): NpgsqlConnection;
|
|
842
|
+
openConnectionAsync(targetSessionAttributes: TargetSessionAttributes, cancellationToken?: CancellationToken): ValueTask<NpgsqlConnection>;
|
|
843
|
+
openConnectionAsync(cancellationToken?: CancellationToken): ValueTask<NpgsqlConnection>;
|
|
844
|
+
withTargetSession(targetSessionAttributes: TargetSessionAttributes): NpgsqlDataSource;
|
|
845
|
+
}
|
|
846
|
+
|
|
847
|
+
|
|
848
|
+
export const NpgsqlMultiHostDataSource: {
|
|
849
|
+
new(): NpgsqlMultiHostDataSource;
|
|
850
|
+
};
|
|
851
|
+
|
|
852
|
+
|
|
853
|
+
export type NpgsqlMultiHostDataSource = NpgsqlMultiHostDataSource$instance;
|
|
854
|
+
|
|
855
|
+
export interface NpgsqlNestedDataReader$instance extends DbDataReader {
|
|
856
|
+
readonly depth: int;
|
|
857
|
+
readonly fieldCount: int;
|
|
858
|
+
readonly hasRows: boolean;
|
|
859
|
+
readonly isClosed: boolean;
|
|
860
|
+
readonly recordsAffected: int;
|
|
861
|
+
close(): void;
|
|
862
|
+
get_Item(ordinal: int): unknown;
|
|
863
|
+
get_Item(name: string): unknown;
|
|
864
|
+
getBoolean(ordinal: int): boolean;
|
|
865
|
+
getByte(ordinal: int): byte;
|
|
866
|
+
getBytes(ordinal: int, dataOffset: long, buffer: byte[], bufferOffset: int, length: int): long;
|
|
867
|
+
getChar(ordinal: int): char;
|
|
868
|
+
getChars(ordinal: int, dataOffset: long, buffer: char[], bufferOffset: int, length: int): long;
|
|
869
|
+
getData(ordinal: int): NpgsqlNestedDataReader;
|
|
870
|
+
getDataTypeName(ordinal: int): string;
|
|
871
|
+
getDateTime(ordinal: int): DateTime;
|
|
872
|
+
getDecimal(ordinal: int): decimal;
|
|
873
|
+
getDouble(ordinal: int): double;
|
|
874
|
+
getEnumerator(): IEnumerator;
|
|
875
|
+
getFieldType(ordinal: int): Type;
|
|
876
|
+
getFieldValue<T>(ordinal: int): T;
|
|
877
|
+
getFloat(ordinal: int): float;
|
|
878
|
+
getGuid(ordinal: int): Guid;
|
|
879
|
+
getInt16(ordinal: int): short;
|
|
880
|
+
getInt32(ordinal: int): int;
|
|
881
|
+
getInt64(ordinal: int): long;
|
|
882
|
+
getName(ordinal: int): string;
|
|
883
|
+
getOrdinal(name: string): int;
|
|
884
|
+
getString(ordinal: int): string;
|
|
885
|
+
getValue(ordinal: int): unknown;
|
|
886
|
+
getValues(values: unknown[]): int;
|
|
887
|
+
isDBNull(ordinal: int): boolean;
|
|
888
|
+
nextResult(): boolean;
|
|
889
|
+
read(): boolean;
|
|
890
|
+
}
|
|
891
|
+
|
|
892
|
+
|
|
893
|
+
export const NpgsqlNestedDataReader: {
|
|
894
|
+
new(): NpgsqlNestedDataReader;
|
|
895
|
+
};
|
|
896
|
+
|
|
897
|
+
|
|
898
|
+
export type NpgsqlNestedDataReader = NpgsqlNestedDataReader$instance;
|
|
899
|
+
|
|
900
|
+
export interface NpgsqlNoticeEventArgs$instance extends EventArgs {
|
|
901
|
+
readonly notice: PostgresNotice;
|
|
902
|
+
}
|
|
903
|
+
|
|
904
|
+
|
|
905
|
+
export const NpgsqlNoticeEventArgs: {
|
|
906
|
+
new(): NpgsqlNoticeEventArgs;
|
|
907
|
+
};
|
|
908
|
+
|
|
909
|
+
|
|
910
|
+
export type NpgsqlNoticeEventArgs = NpgsqlNoticeEventArgs$instance;
|
|
911
|
+
|
|
912
|
+
export interface NpgsqlNotificationEventArgs$instance extends EventArgs {
|
|
913
|
+
readonly channel: string;
|
|
914
|
+
readonly payload: string;
|
|
915
|
+
readonly PID: int;
|
|
916
|
+
}
|
|
917
|
+
|
|
918
|
+
|
|
919
|
+
export const NpgsqlNotificationEventArgs: {
|
|
920
|
+
new(): NpgsqlNotificationEventArgs;
|
|
921
|
+
};
|
|
922
|
+
|
|
923
|
+
|
|
924
|
+
export type NpgsqlNotificationEventArgs = NpgsqlNotificationEventArgs$instance;
|
|
925
|
+
|
|
926
|
+
export interface NpgsqlOperationInProgressException$instance extends NpgsqlException {
|
|
927
|
+
readonly commandInProgress: NpgsqlCommand | undefined;
|
|
928
|
+
}
|
|
929
|
+
|
|
930
|
+
|
|
931
|
+
export const NpgsqlOperationInProgressException: {
|
|
932
|
+
new(command: NpgsqlCommand): NpgsqlOperationInProgressException;
|
|
933
|
+
};
|
|
934
|
+
|
|
935
|
+
|
|
936
|
+
export type NpgsqlOperationInProgressException = NpgsqlOperationInProgressException$instance;
|
|
937
|
+
|
|
938
|
+
export interface NpgsqlParameter$instance extends DbParameter {
|
|
939
|
+
get collection(): NpgsqlParameterCollection | undefined;
|
|
940
|
+
set collection(value: NpgsqlParameterCollection);
|
|
941
|
+
get dataTypeName(): string | undefined;
|
|
942
|
+
set dataTypeName(value: string);
|
|
943
|
+
dbType: DbType;
|
|
944
|
+
direction: ParameterDirection;
|
|
945
|
+
isNullable: boolean;
|
|
946
|
+
npgsqlDbType: NpgsqlDbType;
|
|
947
|
+
get npgsqlValue(): unknown | undefined;
|
|
948
|
+
set npgsqlValue(value: unknown);
|
|
949
|
+
parameterName: string;
|
|
950
|
+
readonly postgresType: PostgresType | undefined;
|
|
951
|
+
precision: byte;
|
|
952
|
+
scale: byte;
|
|
953
|
+
size: int;
|
|
954
|
+
sourceColumn: string;
|
|
955
|
+
sourceColumnNullMapping: boolean;
|
|
956
|
+
sourceVersion: DataRowVersion;
|
|
957
|
+
get value(): unknown | undefined;
|
|
958
|
+
set value(value: unknown);
|
|
959
|
+
clone(): NpgsqlParameter;
|
|
960
|
+
resetDbType(): void;
|
|
961
|
+
}
|
|
962
|
+
|
|
963
|
+
|
|
964
|
+
export const NpgsqlParameter: {
|
|
965
|
+
new(): NpgsqlParameter;
|
|
966
|
+
new(parameterName: string, value: unknown): NpgsqlParameter;
|
|
967
|
+
new(parameterName: string, parameterType: NpgsqlDbType): NpgsqlParameter;
|
|
968
|
+
new(parameterName: string, parameterType: DbType): NpgsqlParameter;
|
|
969
|
+
new(parameterName: string, parameterType: NpgsqlDbType, size: int): NpgsqlParameter;
|
|
970
|
+
new(parameterName: string, parameterType: DbType, size: int): NpgsqlParameter;
|
|
971
|
+
new(parameterName: string, parameterType: NpgsqlDbType, size: int, sourceColumn: string): NpgsqlParameter;
|
|
972
|
+
new(parameterName: string, parameterType: DbType, size: int, sourceColumn: string): NpgsqlParameter;
|
|
973
|
+
new(parameterName: string, parameterType: NpgsqlDbType, size: int, sourceColumn: string, direction: ParameterDirection, isNullable: boolean, precision: byte, scale: byte, sourceVersion: DataRowVersion, value: unknown): NpgsqlParameter;
|
|
974
|
+
new(parameterName: string, parameterType: DbType, size: int, sourceColumn: string, direction: ParameterDirection, isNullable: boolean, precision: byte, scale: byte, sourceVersion: DataRowVersion, value: unknown): NpgsqlParameter;
|
|
975
|
+
};
|
|
976
|
+
|
|
977
|
+
|
|
978
|
+
export type NpgsqlParameter = NpgsqlParameter$instance;
|
|
979
|
+
|
|
980
|
+
export interface NpgsqlParameter_1$instance<T> extends NpgsqlParameter {
|
|
981
|
+
typedValue: T | undefined;
|
|
982
|
+
get value(): unknown | undefined;
|
|
983
|
+
set value(value: unknown);
|
|
984
|
+
}
|
|
985
|
+
|
|
986
|
+
|
|
987
|
+
export const NpgsqlParameter_1: {
|
|
988
|
+
new<T>(): NpgsqlParameter_1<T>;
|
|
989
|
+
new<T>(parameterName: string, value: T): NpgsqlParameter_1<T>;
|
|
990
|
+
new<T>(parameterName: string, npgsqlDbType: NpgsqlDbType): NpgsqlParameter_1<T>;
|
|
991
|
+
new<T>(parameterName: string, dbType: DbType): NpgsqlParameter_1<T>;
|
|
992
|
+
};
|
|
993
|
+
|
|
994
|
+
|
|
995
|
+
export type NpgsqlParameter_1<T> = NpgsqlParameter_1$instance<T>;
|
|
996
|
+
|
|
997
|
+
export interface NpgsqlParameterCollection$instance extends DbParameterCollection {
|
|
998
|
+
readonly count: int;
|
|
999
|
+
readonly isFixedSize: boolean;
|
|
1000
|
+
readonly isReadOnly: boolean;
|
|
1001
|
+
readonly isSynchronized: boolean;
|
|
1002
|
+
readonly syncRoot: unknown;
|
|
1003
|
+
add(value: NpgsqlParameter): NpgsqlParameter;
|
|
1004
|
+
add(parameterName: string, parameterType: NpgsqlDbType): NpgsqlParameter;
|
|
1005
|
+
add(parameterName: string, parameterType: NpgsqlDbType, size: int): NpgsqlParameter;
|
|
1006
|
+
add(parameterName: string, parameterType: NpgsqlDbType, size: int, sourceColumn: string): NpgsqlParameter;
|
|
1007
|
+
add(value: unknown): int;
|
|
1008
|
+
addRange(values: ClrArray): void;
|
|
1009
|
+
addWithValue(parameterName: string, value: unknown): NpgsqlParameter;
|
|
1010
|
+
addWithValue(parameterName: string, parameterType: NpgsqlDbType, value: unknown): NpgsqlParameter;
|
|
1011
|
+
addWithValue(parameterName: string, parameterType: NpgsqlDbType, size: int, value: unknown): NpgsqlParameter;
|
|
1012
|
+
addWithValue(parameterName: string, parameterType: NpgsqlDbType, size: int, sourceColumn: string, value: unknown): NpgsqlParameter;
|
|
1013
|
+
addWithValue(value: unknown): NpgsqlParameter;
|
|
1014
|
+
addWithValue(parameterType: NpgsqlDbType, value: unknown): NpgsqlParameter;
|
|
1015
|
+
clear(): void;
|
|
1016
|
+
contains(parameterName: string): boolean;
|
|
1017
|
+
contains(value: unknown): boolean;
|
|
1018
|
+
contains(item: NpgsqlParameter): boolean;
|
|
1019
|
+
copyTo(array: ClrArray, index: int): void;
|
|
1020
|
+
copyTo(array: NpgsqlParameter[], arrayIndex: int): void;
|
|
1021
|
+
get_Item(parameterName: string): NpgsqlParameter;
|
|
1022
|
+
get_Item(index: int): NpgsqlParameter;
|
|
1023
|
+
getEnumerator(): IEnumerator;
|
|
1024
|
+
indexOf(parameterName: string): int;
|
|
1025
|
+
indexOf(value: unknown): int;
|
|
1026
|
+
indexOf(item: NpgsqlParameter): int;
|
|
1027
|
+
insert(index: int, value: unknown): void;
|
|
1028
|
+
insert(index: int, item: NpgsqlParameter): void;
|
|
1029
|
+
remove(parameterName: string): void;
|
|
1030
|
+
remove(value: unknown): void;
|
|
1031
|
+
remove(item: NpgsqlParameter): boolean;
|
|
1032
|
+
removeAt(parameterName: string): void;
|
|
1033
|
+
removeAt(index: int): void;
|
|
1034
|
+
set_Item(parameterName: string, value: NpgsqlParameter): void;
|
|
1035
|
+
set_Item(index: int, value: NpgsqlParameter): void;
|
|
1036
|
+
toArray(): NpgsqlParameter[];
|
|
1037
|
+
tryGetValue(parameterName: string, parameter: NpgsqlParameter): boolean;
|
|
1038
|
+
}
|
|
1039
|
+
|
|
1040
|
+
|
|
1041
|
+
export const NpgsqlParameterCollection: {
|
|
1042
|
+
new(): NpgsqlParameterCollection;
|
|
1043
|
+
};
|
|
1044
|
+
|
|
1045
|
+
|
|
1046
|
+
export type NpgsqlParameterCollection = NpgsqlParameterCollection$instance;
|
|
1047
|
+
|
|
1048
|
+
export interface NpgsqlRawCopyStream$instance extends Stream {
|
|
1049
|
+
readonly canRead: boolean;
|
|
1050
|
+
readonly canSeek: boolean;
|
|
1051
|
+
readonly canTimeout: boolean;
|
|
1052
|
+
readonly canWrite: boolean;
|
|
1053
|
+
readonly length: long;
|
|
1054
|
+
position: long;
|
|
1055
|
+
readTimeout: int;
|
|
1056
|
+
writeTimeout: int;
|
|
1057
|
+
cancel(): void;
|
|
1058
|
+
cancelAsync(): Task;
|
|
1059
|
+
disposeAsync(): ValueTask;
|
|
1060
|
+
flush(): void;
|
|
1061
|
+
flushAsync(cancellationToken: CancellationToken): Task;
|
|
1062
|
+
read(buffer: byte[], offset: int, count: int): int;
|
|
1063
|
+
read(span: Span<System_Internal.Byte>): int;
|
|
1064
|
+
readAsync(buffer: byte[], offset: int, count: int, cancellationToken: CancellationToken): Task<System_Internal.Int32>;
|
|
1065
|
+
readAsync(buffer: Memory<System_Internal.Byte>, cancellationToken: CancellationToken): ValueTask<System_Internal.Int32>;
|
|
1066
|
+
seek(offset: long, origin: SeekOrigin): long;
|
|
1067
|
+
setLength(value: long): void;
|
|
1068
|
+
write(buffer: byte[], offset: int, count: int): void;
|
|
1069
|
+
write(buffer: ReadOnlySpan<System_Internal.Byte>): void;
|
|
1070
|
+
writeAsync(buffer: byte[], offset: int, count: int, cancellationToken: CancellationToken): Task;
|
|
1071
|
+
writeAsync(buffer: ReadOnlyMemory<System_Internal.Byte>, cancellationToken?: CancellationToken): ValueTask;
|
|
1072
|
+
}
|
|
1073
|
+
|
|
1074
|
+
|
|
1075
|
+
export const NpgsqlRawCopyStream: {
|
|
1076
|
+
new(): NpgsqlRawCopyStream;
|
|
1077
|
+
};
|
|
1078
|
+
|
|
1079
|
+
|
|
1080
|
+
export type NpgsqlRawCopyStream = NpgsqlRawCopyStream$instance;
|
|
1081
|
+
|
|
1082
|
+
export interface NpgsqlRowUpdatedEventArgs$instance extends RowUpdatedEventArgs {
|
|
1083
|
+
}
|
|
1084
|
+
|
|
1085
|
+
|
|
1086
|
+
export const NpgsqlRowUpdatedEventArgs: {
|
|
1087
|
+
new(dataRow: DataRow, command: IDbCommand, statementType: StatementType_Data, tableMapping: DataTableMapping): NpgsqlRowUpdatedEventArgs;
|
|
1088
|
+
};
|
|
1089
|
+
|
|
1090
|
+
|
|
1091
|
+
export type NpgsqlRowUpdatedEventArgs = NpgsqlRowUpdatedEventArgs$instance;
|
|
1092
|
+
|
|
1093
|
+
export interface NpgsqlRowUpdatingEventArgs$instance extends RowUpdatingEventArgs {
|
|
1094
|
+
}
|
|
1095
|
+
|
|
1096
|
+
|
|
1097
|
+
export const NpgsqlRowUpdatingEventArgs: {
|
|
1098
|
+
new(dataRow: DataRow, command: IDbCommand, statementType: StatementType_Data, tableMapping: DataTableMapping): NpgsqlRowUpdatingEventArgs;
|
|
1099
|
+
};
|
|
1100
|
+
|
|
1101
|
+
|
|
1102
|
+
export type NpgsqlRowUpdatingEventArgs = NpgsqlRowUpdatingEventArgs$instance;
|
|
1103
|
+
|
|
1104
|
+
export interface NpgsqlSlimDataSourceBuilder$instance {
|
|
1105
|
+
readonly connectionString: string;
|
|
1106
|
+
readonly connectionStringBuilder: NpgsqlConnectionStringBuilder;
|
|
1107
|
+
defaultNameTranslator: INpgsqlNameTranslator;
|
|
1108
|
+
name: string;
|
|
1109
|
+
addTypeInfoResolverFactory(factory: PgTypeInfoResolverFactory): void;
|
|
1110
|
+
build(): NpgsqlDataSource;
|
|
1111
|
+
buildMultiHost(): NpgsqlMultiHostDataSource;
|
|
1112
|
+
configureJsonOptions(serializerOptions: JsonSerializerOptions): NpgsqlSlimDataSourceBuilder;
|
|
1113
|
+
configureTracing(configureAction: Action<NpgsqlTracingOptionsBuilder>): NpgsqlSlimDataSourceBuilder;
|
|
1114
|
+
configureTypeLoading(configureAction: Action<NpgsqlTypeLoadingOptionsBuilder>): NpgsqlSlimDataSourceBuilder;
|
|
1115
|
+
enableArrays(): NpgsqlSlimDataSourceBuilder;
|
|
1116
|
+
enableCube(): NpgsqlSlimDataSourceBuilder;
|
|
1117
|
+
enableDynamicJson(jsonbClrTypes?: Type[], jsonClrTypes?: Type[]): NpgsqlSlimDataSourceBuilder;
|
|
1118
|
+
enableExtraConversions(): NpgsqlSlimDataSourceBuilder;
|
|
1119
|
+
enableFullTextSearch(): NpgsqlSlimDataSourceBuilder;
|
|
1120
|
+
enableGeometricTypes(): NpgsqlSlimDataSourceBuilder;
|
|
1121
|
+
enableIntegratedSecurity(): NpgsqlSlimDataSourceBuilder;
|
|
1122
|
+
enableJsonTypes(): NpgsqlSlimDataSourceBuilder;
|
|
1123
|
+
enableLTree(): NpgsqlSlimDataSourceBuilder;
|
|
1124
|
+
enableMultiranges(): NpgsqlSlimDataSourceBuilder;
|
|
1125
|
+
enableNetworkTypes(): NpgsqlSlimDataSourceBuilder;
|
|
1126
|
+
enableParameterLogging(parameterLoggingEnabled?: boolean): NpgsqlSlimDataSourceBuilder;
|
|
1127
|
+
enableRanges(): NpgsqlSlimDataSourceBuilder;
|
|
1128
|
+
enableRecords(): NpgsqlSlimDataSourceBuilder;
|
|
1129
|
+
enableRecordsAsTuples(): NpgsqlSlimDataSourceBuilder;
|
|
1130
|
+
enableTransportSecurity(): NpgsqlSlimDataSourceBuilder;
|
|
1131
|
+
enableUnmappedTypes(): NpgsqlSlimDataSourceBuilder;
|
|
1132
|
+
mapComposite<T>(pgName?: string, nameTranslator?: INpgsqlNameTranslator): NpgsqlSlimDataSourceBuilder;
|
|
1133
|
+
mapComposite(clrType: Type, pgName?: string, nameTranslator?: INpgsqlNameTranslator): NpgsqlSlimDataSourceBuilder;
|
|
1134
|
+
mapEnum<TEnum extends number>(pgName?: string, nameTranslator?: INpgsqlNameTranslator): NpgsqlSlimDataSourceBuilder;
|
|
1135
|
+
mapEnum(clrType: Type, pgName?: string, nameTranslator?: INpgsqlNameTranslator): NpgsqlSlimDataSourceBuilder;
|
|
1136
|
+
unmapComposite<T>(pgName?: string, nameTranslator?: INpgsqlNameTranslator): boolean;
|
|
1137
|
+
unmapComposite(clrType: Type, pgName?: string, nameTranslator?: INpgsqlNameTranslator): boolean;
|
|
1138
|
+
unmapEnum<TEnum extends number>(pgName?: string, nameTranslator?: INpgsqlNameTranslator): boolean;
|
|
1139
|
+
unmapEnum(clrType: Type, pgName?: string, nameTranslator?: INpgsqlNameTranslator): boolean;
|
|
1140
|
+
useClientCertificate(clientCertificate: X509Certificate): NpgsqlSlimDataSourceBuilder;
|
|
1141
|
+
useClientCertificates(clientCertificates: X509CertificateCollection): NpgsqlSlimDataSourceBuilder;
|
|
1142
|
+
useClientCertificatesCallback(clientCertificatesCallback: Action<X509CertificateCollection>): NpgsqlSlimDataSourceBuilder;
|
|
1143
|
+
useLoggerFactory(loggerFactory: ILoggerFactory): NpgsqlSlimDataSourceBuilder;
|
|
1144
|
+
useNegotiateOptionsCallback(negotiateOptionsCallback: Action<NegotiateAuthenticationClientOptions>): NpgsqlSlimDataSourceBuilder;
|
|
1145
|
+
usePasswordProvider(passwordProvider: Func<NpgsqlConnectionStringBuilder, System_Internal.String>, passwordProviderAsync: Func<NpgsqlConnectionStringBuilder, CancellationToken, ValueTask<System_Internal.String>>): NpgsqlSlimDataSourceBuilder;
|
|
1146
|
+
usePeriodicPasswordProvider(passwordProvider: Func<NpgsqlConnectionStringBuilder, CancellationToken, ValueTask<System_Internal.String>>, successRefreshInterval: TimeSpan, failureRefreshInterval: TimeSpan): NpgsqlSlimDataSourceBuilder;
|
|
1147
|
+
usePhysicalConnectionInitializer(connectionInitializer: Action<NpgsqlConnection>, connectionInitializerAsync: Func<NpgsqlConnection, Task>): NpgsqlSlimDataSourceBuilder;
|
|
1148
|
+
useRootCertificate(rootCertificate: X509Certificate2): NpgsqlSlimDataSourceBuilder;
|
|
1149
|
+
useRootCertificateCallback(rootCertificateCallback: Func<X509Certificate2>): NpgsqlSlimDataSourceBuilder;
|
|
1150
|
+
useRootCertificates(rootCertificates: X509Certificate2Collection): NpgsqlSlimDataSourceBuilder;
|
|
1151
|
+
useRootCertificatesCallback(rootCertificateCallback: Func<X509Certificate2Collection>): NpgsqlSlimDataSourceBuilder;
|
|
1152
|
+
useSslClientAuthenticationOptionsCallback(sslClientAuthenticationOptionsCallback: Action<SslClientAuthenticationOptions>): NpgsqlSlimDataSourceBuilder;
|
|
1153
|
+
useUserCertificateValidationCallback(userCertificateValidationCallback: RemoteCertificateValidationCallback): NpgsqlSlimDataSourceBuilder;
|
|
1154
|
+
}
|
|
1155
|
+
|
|
1156
|
+
|
|
1157
|
+
export const NpgsqlSlimDataSourceBuilder: {
|
|
1158
|
+
new(connectionString: string): NpgsqlSlimDataSourceBuilder;
|
|
1159
|
+
};
|
|
1160
|
+
|
|
1161
|
+
|
|
1162
|
+
export interface __NpgsqlSlimDataSourceBuilder$views {
|
|
1163
|
+
As_INpgsqlTypeMapper(): Npgsql_TypeMapping_Internal.INpgsqlTypeMapper$instance;
|
|
1164
|
+
}
|
|
1165
|
+
|
|
1166
|
+
export type NpgsqlSlimDataSourceBuilder = NpgsqlSlimDataSourceBuilder$instance & __NpgsqlSlimDataSourceBuilder$views;
|
|
1167
|
+
|
|
1168
|
+
|
|
1169
|
+
export interface NpgsqlTracingOptionsBuilder$instance {
|
|
1170
|
+
configureBatchEnrichmentCallback(batchEnrichmentCallback: Action<Activity, NpgsqlBatch>): NpgsqlTracingOptionsBuilder;
|
|
1171
|
+
configureBatchFilter(batchFilter: Func<NpgsqlBatch, System_Internal.Boolean>): NpgsqlTracingOptionsBuilder;
|
|
1172
|
+
configureBatchSpanNameProvider(batchSpanNameProvider: Func<NpgsqlBatch, System_Internal.String>): NpgsqlTracingOptionsBuilder;
|
|
1173
|
+
configureCommandEnrichmentCallback(commandEnrichmentCallback: Action<Activity, NpgsqlCommand>): NpgsqlTracingOptionsBuilder;
|
|
1174
|
+
configureCommandFilter(commandFilter: Func<NpgsqlCommand, System_Internal.Boolean>): NpgsqlTracingOptionsBuilder;
|
|
1175
|
+
configureCommandSpanNameProvider(commandSpanNameProvider: Func<NpgsqlCommand, System_Internal.String>): NpgsqlTracingOptionsBuilder;
|
|
1176
|
+
configureCopyOperationEnrichmentCallback(copyOperationEnrichmentCallback: Action<Activity, System_Internal.String>): NpgsqlTracingOptionsBuilder;
|
|
1177
|
+
configureCopyOperationFilter(copyOperationFilter: Func<System_Internal.String, System_Internal.Boolean>): NpgsqlTracingOptionsBuilder;
|
|
1178
|
+
configureCopyOperationSpanNameProvider(copyOperationSpanNameProvider: Func<System_Internal.String, System_Internal.String>): NpgsqlTracingOptionsBuilder;
|
|
1179
|
+
enableFirstResponseEvent(enable?: boolean): NpgsqlTracingOptionsBuilder;
|
|
1180
|
+
enablePhysicalOpenTracing(enable?: boolean): NpgsqlTracingOptionsBuilder;
|
|
1181
|
+
}
|
|
1182
|
+
|
|
1183
|
+
|
|
1184
|
+
export const NpgsqlTracingOptionsBuilder: {
|
|
1185
|
+
new(): NpgsqlTracingOptionsBuilder;
|
|
1186
|
+
};
|
|
1187
|
+
|
|
1188
|
+
|
|
1189
|
+
export type NpgsqlTracingOptionsBuilder = NpgsqlTracingOptionsBuilder$instance;
|
|
1190
|
+
|
|
1191
|
+
export interface NpgsqlTransaction$instance extends DbTransaction {
|
|
1192
|
+
readonly connection: NpgsqlConnection | undefined;
|
|
1193
|
+
readonly isolationLevel: IsolationLevel;
|
|
1194
|
+
readonly supportsSavepoints: boolean;
|
|
1195
|
+
commit(): void;
|
|
1196
|
+
commitAsync(cancellationToken?: CancellationToken): Task;
|
|
1197
|
+
disposeAsync(): ValueTask;
|
|
1198
|
+
release(name: string): void;
|
|
1199
|
+
releaseAsync(name: string, cancellationToken?: CancellationToken): Task;
|
|
1200
|
+
rollback(): void;
|
|
1201
|
+
rollback(name: string): void;
|
|
1202
|
+
rollbackAsync(cancellationToken?: CancellationToken): Task;
|
|
1203
|
+
rollbackAsync(name: string, cancellationToken?: CancellationToken): Task;
|
|
1204
|
+
save(name: string): void;
|
|
1205
|
+
saveAsync(name: string, cancellationToken?: CancellationToken): Task;
|
|
1206
|
+
}
|
|
1207
|
+
|
|
1208
|
+
|
|
1209
|
+
export const NpgsqlTransaction: {
|
|
1210
|
+
new(): NpgsqlTransaction;
|
|
1211
|
+
};
|
|
1212
|
+
|
|
1213
|
+
|
|
1214
|
+
export type NpgsqlTransaction = NpgsqlTransaction$instance;
|
|
1215
|
+
|
|
1216
|
+
export interface NpgsqlTypeLoadingOptionsBuilder$instance {
|
|
1217
|
+
enableTableCompositesLoading(enable?: boolean): NpgsqlTypeLoadingOptionsBuilder;
|
|
1218
|
+
enableTypeLoading(enable?: boolean): NpgsqlTypeLoadingOptionsBuilder;
|
|
1219
|
+
setTypeLoadingSchemas(schemas: IEnumerable__System_Collections_Generic<System_Internal.String>): NpgsqlTypeLoadingOptionsBuilder;
|
|
1220
|
+
}
|
|
1221
|
+
|
|
1222
|
+
|
|
1223
|
+
export const NpgsqlTypeLoadingOptionsBuilder: {
|
|
1224
|
+
new(): NpgsqlTypeLoadingOptionsBuilder;
|
|
1225
|
+
};
|
|
1226
|
+
|
|
1227
|
+
|
|
1228
|
+
export type NpgsqlTypeLoadingOptionsBuilder = NpgsqlTypeLoadingOptionsBuilder$instance;
|
|
1229
|
+
|
|
1230
|
+
export interface PostgresException$instance extends NpgsqlException {
|
|
1231
|
+
readonly columnName: string | undefined;
|
|
1232
|
+
readonly constraintName: string | undefined;
|
|
1233
|
+
readonly dataTypeName: string | undefined;
|
|
1234
|
+
readonly detail: string | undefined;
|
|
1235
|
+
readonly file: string | undefined;
|
|
1236
|
+
readonly hint: string | undefined;
|
|
1237
|
+
readonly internalPosition: int;
|
|
1238
|
+
readonly internalQuery: string | undefined;
|
|
1239
|
+
readonly invariantSeverity: string;
|
|
1240
|
+
readonly isTransient: boolean;
|
|
1241
|
+
readonly line: string | undefined;
|
|
1242
|
+
readonly messageText: string;
|
|
1243
|
+
readonly position: int;
|
|
1244
|
+
readonly routine: string | undefined;
|
|
1245
|
+
readonly schemaName: string | undefined;
|
|
1246
|
+
readonly severity: string;
|
|
1247
|
+
readonly sqlState: string;
|
|
1248
|
+
readonly tableName: string | undefined;
|
|
1249
|
+
readonly where: string | undefined;
|
|
1250
|
+
getObjectData(info: SerializationInfo, context: StreamingContext): void;
|
|
1251
|
+
toString(): string;
|
|
1252
|
+
}
|
|
1253
|
+
|
|
1254
|
+
|
|
1255
|
+
export const PostgresException: {
|
|
1256
|
+
new(messageText: string, severity: string, invariantSeverity: string, sqlState: string): PostgresException;
|
|
1257
|
+
new(messageText: string, severity: string, invariantSeverity: string, sqlState: string, detail: string, hint: string, position: int, internalPosition: int, internalQuery: string, where: string, schemaName: string, tableName: string, columnName: string, dataTypeName: string, constraintName: string, file: string, line: string, routine: string): PostgresException;
|
|
1258
|
+
};
|
|
1259
|
+
|
|
1260
|
+
|
|
1261
|
+
export type PostgresException = PostgresException$instance;
|
|
1262
|
+
|
|
1263
|
+
export interface PostgresNotice$instance {
|
|
1264
|
+
get columnName(): string | undefined;
|
|
1265
|
+
set columnName(value: string);
|
|
1266
|
+
get constraintName(): string | undefined;
|
|
1267
|
+
set constraintName(value: string);
|
|
1268
|
+
get dataTypeName(): string | undefined;
|
|
1269
|
+
set dataTypeName(value: string);
|
|
1270
|
+
get detail(): string | undefined;
|
|
1271
|
+
set detail(value: string);
|
|
1272
|
+
get file(): string | undefined;
|
|
1273
|
+
set file(value: string);
|
|
1274
|
+
get hint(): string | undefined;
|
|
1275
|
+
set hint(value: string);
|
|
1276
|
+
internalPosition: int;
|
|
1277
|
+
get internalQuery(): string | undefined;
|
|
1278
|
+
set internalQuery(value: string);
|
|
1279
|
+
readonly invariantSeverity: string;
|
|
1280
|
+
get line(): string | undefined;
|
|
1281
|
+
set line(value: string);
|
|
1282
|
+
messageText: string;
|
|
1283
|
+
position: int;
|
|
1284
|
+
get routine(): string | undefined;
|
|
1285
|
+
set routine(value: string);
|
|
1286
|
+
get schemaName(): string | undefined;
|
|
1287
|
+
set schemaName(value: string);
|
|
1288
|
+
severity: string;
|
|
1289
|
+
sqlState: string;
|
|
1290
|
+
get tableName(): string | undefined;
|
|
1291
|
+
set tableName(value: string);
|
|
1292
|
+
get where(): string | undefined;
|
|
1293
|
+
set where(value: string);
|
|
1294
|
+
}
|
|
1295
|
+
|
|
1296
|
+
|
|
1297
|
+
export const PostgresNotice: {
|
|
1298
|
+
new(severity: string, invariantSeverity: string, sqlState: string, messageText: string): PostgresNotice;
|
|
1299
|
+
new(messageText: string, severity: string, invariantSeverity: string, sqlState: string, detail: string, hint: string, position: int, internalPosition: int, internalQuery: string, where: string, schemaName: string, tableName: string, columnName: string, dataTypeName: string, constraintName: string, file: string, line: string, routine: string): PostgresNotice;
|
|
1300
|
+
};
|
|
1301
|
+
|
|
1302
|
+
|
|
1303
|
+
export type PostgresNotice = PostgresNotice$instance;
|
|
1304
|
+
|
|
1305
|
+
export abstract class NpgsqlEventId$instance {
|
|
1306
|
+
static readonly openingConnection: int;
|
|
1307
|
+
static readonly openedConnection: int;
|
|
1308
|
+
static readonly closingConnection: int;
|
|
1309
|
+
static readonly closedConnection: int;
|
|
1310
|
+
static readonly openingPhysicalConnection: int;
|
|
1311
|
+
static readonly openedPhysicalConnection: int;
|
|
1312
|
+
static readonly closingPhysicalConnection: int;
|
|
1313
|
+
static readonly closedPhysicalConnection: int;
|
|
1314
|
+
static readonly startingWait: int;
|
|
1315
|
+
static readonly receivedNotice: int;
|
|
1316
|
+
static readonly connectionExceededMaximumLifetime: int;
|
|
1317
|
+
static readonly sendingKeepalive: int;
|
|
1318
|
+
static readonly completedKeepalive: int;
|
|
1319
|
+
static readonly keepaliveFailed: int;
|
|
1320
|
+
static readonly breakingConnection: int;
|
|
1321
|
+
static readonly caughtUserExceptionInNoticeEventHandler: int;
|
|
1322
|
+
static readonly caughtUserExceptionInNotificationEventHandler: int;
|
|
1323
|
+
static readonly exceptionWhenClosingPhysicalConnection: int;
|
|
1324
|
+
static readonly exceptionWhenOpeningConnectionForMultiplexing: int;
|
|
1325
|
+
static readonly executingCommand: int;
|
|
1326
|
+
static readonly commandExecutionCompleted: int;
|
|
1327
|
+
static readonly cancellingCommand: int;
|
|
1328
|
+
static readonly executingInternalCommand: int;
|
|
1329
|
+
static readonly preparingCommandExplicitly: int;
|
|
1330
|
+
static readonly commandPreparedExplicitly: int;
|
|
1331
|
+
static readonly autoPreparingStatement: int;
|
|
1332
|
+
static readonly unpreparingCommand: int;
|
|
1333
|
+
static readonly derivingParameters: int;
|
|
1334
|
+
static readonly exceptionWhenWritingMultiplexedCommands: int;
|
|
1335
|
+
static readonly startedTransaction: int;
|
|
1336
|
+
static readonly committedTransaction: int;
|
|
1337
|
+
static readonly rolledBackTransaction: int;
|
|
1338
|
+
static readonly creatingSavepoint: int;
|
|
1339
|
+
static readonly rolledBackToSavepoint: int;
|
|
1340
|
+
static readonly releasedSavepoint: int;
|
|
1341
|
+
static readonly exceptionDuringTransactionDispose: int;
|
|
1342
|
+
static readonly enlistedVolatileResourceManager: int;
|
|
1343
|
+
static readonly committingSinglePhaseTransaction: int;
|
|
1344
|
+
static readonly rollingBackSinglePhaseTransaction: int;
|
|
1345
|
+
static readonly singlePhaseTransactionRollbackFailed: int;
|
|
1346
|
+
static readonly preparingTwoPhaseTransaction: int;
|
|
1347
|
+
static readonly committingTwoPhaseTransaction: int;
|
|
1348
|
+
static readonly twoPhaseTransactionCommitFailed: int;
|
|
1349
|
+
static readonly rollingBackTwoPhaseTransaction: int;
|
|
1350
|
+
static readonly twoPhaseTransactionRollbackFailed: int;
|
|
1351
|
+
static readonly twoPhaseTransactionInDoubt: int;
|
|
1352
|
+
static readonly connectionInUseWhenRollingBack: int;
|
|
1353
|
+
static readonly cleaningUpResourceManager: int;
|
|
1354
|
+
static readonly startingBinaryExport: int;
|
|
1355
|
+
static readonly startingBinaryImport: int;
|
|
1356
|
+
static readonly startingTextExport: int;
|
|
1357
|
+
static readonly startingTextImport: int;
|
|
1358
|
+
static readonly startingRawCopy: int;
|
|
1359
|
+
static readonly copyOperationCompleted: int;
|
|
1360
|
+
static readonly copyOperationCancelled: int;
|
|
1361
|
+
static readonly exceptionWhenDisposingCopyOperation: int;
|
|
1362
|
+
static readonly creatingReplicationSlot: int;
|
|
1363
|
+
static readonly droppingReplicationSlot: int;
|
|
1364
|
+
static readonly startingLogicalReplication: int;
|
|
1365
|
+
static readonly startingPhysicalReplication: int;
|
|
1366
|
+
static readonly executingReplicationCommand: int;
|
|
1367
|
+
static readonly receivedReplicationPrimaryKeepalive: int;
|
|
1368
|
+
static readonly sendingReplicationStandbyStatusUpdate: int;
|
|
1369
|
+
static readonly sentReplicationFeedbackMessage: int;
|
|
1370
|
+
static readonly replicationFeedbackMessageSendingFailed: int;
|
|
1371
|
+
}
|
|
1372
|
+
|
|
1373
|
+
|
|
1374
|
+
export type NpgsqlEventId = NpgsqlEventId$instance;
|
|
1375
|
+
|
|
1376
|
+
export abstract class PostgresErrorCodes$instance {
|
|
1377
|
+
static readonly successfulCompletion: string;
|
|
1378
|
+
static readonly warning: string;
|
|
1379
|
+
static readonly dynamicResultSetsReturnedWarning: string;
|
|
1380
|
+
static readonly implicitZeroBitPaddingWarning: string;
|
|
1381
|
+
static readonly nullValueEliminatedInSetFunctionWarning: string;
|
|
1382
|
+
static readonly privilegeNotGrantedWarning: string;
|
|
1383
|
+
static readonly privilegeNotRevokedWarning: string;
|
|
1384
|
+
static readonly stringDataRightTruncationWarning: string;
|
|
1385
|
+
static readonly deprecatedFeatureWarning: string;
|
|
1386
|
+
static readonly noData: string;
|
|
1387
|
+
static readonly noAdditionalDynamicResultSetsReturned: string;
|
|
1388
|
+
static readonly sqlStatementNotYetComplete: string;
|
|
1389
|
+
static readonly connectionException: string;
|
|
1390
|
+
static readonly connectionDoesNotExist: string;
|
|
1391
|
+
static readonly connectionFailure: string;
|
|
1392
|
+
static readonly sqlClientUnableToEstablishSqlConnection: string;
|
|
1393
|
+
static readonly sqlServerRejectedEstablishmentOfSqlConnection: string;
|
|
1394
|
+
static readonly transactionResolutionUnknown: string;
|
|
1395
|
+
static readonly protocolViolation: string;
|
|
1396
|
+
static readonly triggeredActionException: string;
|
|
1397
|
+
static readonly featureNotSupported: string;
|
|
1398
|
+
static readonly invalidTransactionInitiation: string;
|
|
1399
|
+
static readonly locatorException: string;
|
|
1400
|
+
static readonly invalidLocatorSpecification: string;
|
|
1401
|
+
static readonly invalidGrantor: string;
|
|
1402
|
+
static readonly invalidGrantOperation: string;
|
|
1403
|
+
static readonly invalidRoleSpecification: string;
|
|
1404
|
+
static readonly diagnosticsException: string;
|
|
1405
|
+
static readonly stackedDiagnosticsAccessedWithoutActiveHandler: string;
|
|
1406
|
+
static readonly caseNotFound: string;
|
|
1407
|
+
static readonly cardinalityViolation: string;
|
|
1408
|
+
static readonly dataException: string;
|
|
1409
|
+
static readonly arraySubscriptError: string;
|
|
1410
|
+
static readonly characterNotInRepertoire: string;
|
|
1411
|
+
static readonly datetimeFieldOverflow: string;
|
|
1412
|
+
static readonly divisionByZero: string;
|
|
1413
|
+
static readonly errorInAssignment: string;
|
|
1414
|
+
static readonly escapeCharacterConflict: string;
|
|
1415
|
+
static readonly indicatorOverflow: string;
|
|
1416
|
+
static readonly intervalFieldOverflow: string;
|
|
1417
|
+
static readonly invalidArgumentForLogarithm: string;
|
|
1418
|
+
static readonly invalidArgumentForNtileFunction: string;
|
|
1419
|
+
static readonly invalidArgumentForNthValueFunction: string;
|
|
1420
|
+
static readonly invalidArgumentForPowerFunction: string;
|
|
1421
|
+
static readonly invalidArgumentForWidthBucketFunction: string;
|
|
1422
|
+
static readonly invalidCharacterValueForCast: string;
|
|
1423
|
+
static readonly invalidDatetimeFormat: string;
|
|
1424
|
+
static readonly invalidEscapeCharacter: string;
|
|
1425
|
+
static readonly invalidEscapeOctet: string;
|
|
1426
|
+
static readonly invalidEscapeSequence: string;
|
|
1427
|
+
static readonly nonstandardUseOfEscapeCharacter: string;
|
|
1428
|
+
static readonly invalidIndicatorParameterValue: string;
|
|
1429
|
+
static readonly invalidParameterValue: string;
|
|
1430
|
+
static readonly invalidRegularExpression: string;
|
|
1431
|
+
static readonly invalidRowCountInLimitClause: string;
|
|
1432
|
+
static readonly invalidRowCountInResultOffsetClause: string;
|
|
1433
|
+
static readonly invalidTablesampleArgument: string;
|
|
1434
|
+
static readonly invalidTablesampleRepeat: string;
|
|
1435
|
+
static readonly invalidTimeZoneDisplacementValue: string;
|
|
1436
|
+
static readonly invalidUseOfEscapeCharacter: string;
|
|
1437
|
+
static readonly mostSpecificTypeMismatch: string;
|
|
1438
|
+
static readonly nullValueNotAllowed: string;
|
|
1439
|
+
static readonly nullValueNoIndicatorParameter: string;
|
|
1440
|
+
static readonly numericValueOutOfRange: string;
|
|
1441
|
+
static readonly stringDataLengthMismatch: string;
|
|
1442
|
+
static readonly stringDataRightTruncation: string;
|
|
1443
|
+
static readonly substringError: string;
|
|
1444
|
+
static readonly trimError: string;
|
|
1445
|
+
static readonly unterminatedCString: string;
|
|
1446
|
+
static readonly zeroLengthCharacterString: string;
|
|
1447
|
+
static readonly floatingPointException: string;
|
|
1448
|
+
static readonly invalidTextRepresentation: string;
|
|
1449
|
+
static readonly invalidBinaryRepresentation: string;
|
|
1450
|
+
static readonly badCopyFileFormat: string;
|
|
1451
|
+
static readonly untranslatableCharacter: string;
|
|
1452
|
+
static readonly notAnXmlDocument: string;
|
|
1453
|
+
static readonly invalidXmlDocument: string;
|
|
1454
|
+
static readonly invalidXmlContent: string;
|
|
1455
|
+
static readonly invalidXmlComment: string;
|
|
1456
|
+
static readonly invalidXmlProcessingInstruction: string;
|
|
1457
|
+
static readonly integrityConstraintViolation: string;
|
|
1458
|
+
static readonly restrictViolation: string;
|
|
1459
|
+
static readonly notNullViolation: string;
|
|
1460
|
+
static readonly foreignKeyViolation: string;
|
|
1461
|
+
static readonly uniqueViolation: string;
|
|
1462
|
+
static readonly checkViolation: string;
|
|
1463
|
+
static readonly exclusionViolation: string;
|
|
1464
|
+
static readonly invalidCursorState: string;
|
|
1465
|
+
static readonly invalidTransactionState: string;
|
|
1466
|
+
static readonly activeSqlTransaction: string;
|
|
1467
|
+
static readonly branchTransactionAlreadyActive: string;
|
|
1468
|
+
static readonly heldCursorRequiresSameIsolationLevel: string;
|
|
1469
|
+
static readonly inappropriateAccessModeForBranchTransaction: string;
|
|
1470
|
+
static readonly inappropriateIsolationLevelForBranchTransaction: string;
|
|
1471
|
+
static readonly noActiveSqlTransactionForBranchTransaction: string;
|
|
1472
|
+
static readonly readOnlySqlTransaction: string;
|
|
1473
|
+
static readonly schemaAndDataStatementMixingNotSupported: string;
|
|
1474
|
+
static readonly noActiveSqlTransaction: string;
|
|
1475
|
+
static readonly inFailedSqlTransaction: string;
|
|
1476
|
+
static readonly invalidSqlStatementName: string;
|
|
1477
|
+
static readonly triggeredDataChangeViolation: string;
|
|
1478
|
+
static readonly invalidAuthorizationSpecification: string;
|
|
1479
|
+
static readonly invalidPassword: string;
|
|
1480
|
+
static readonly dependentPrivilegeDescriptorsStillExist: string;
|
|
1481
|
+
static readonly dependentObjectsStillExist: string;
|
|
1482
|
+
static readonly invalidTransactionTermination: string;
|
|
1483
|
+
static readonly sqlRoutineException: string;
|
|
1484
|
+
static readonly functionExecutedNoReturnStatementSqlRoutineException: string;
|
|
1485
|
+
static readonly modifyingSqlDataNotPermittedSqlRoutineException: string;
|
|
1486
|
+
static readonly prohibitedSqlStatementAttemptedSqlRoutineException: string;
|
|
1487
|
+
static readonly readingSqlDataNotPermittedSqlRoutineException: string;
|
|
1488
|
+
static readonly invalidCursorName: string;
|
|
1489
|
+
static readonly externalRoutineException: string;
|
|
1490
|
+
static readonly containingSqlNotPermittedExternalRoutineException: string;
|
|
1491
|
+
static readonly modifyingSqlDataNotPermittedExternalRoutineException: string;
|
|
1492
|
+
static readonly prohibitedSqlStatementAttemptedExternalRoutineException: string;
|
|
1493
|
+
static readonly readingSqlDataNotPermittedExternalRoutineException: string;
|
|
1494
|
+
static readonly externalRoutineInvocationException: string;
|
|
1495
|
+
static readonly invalidSqlstateReturnedExternalRoutineInvocationException: string;
|
|
1496
|
+
static readonly nullValueNotAllowedExternalRoutineInvocationException: string;
|
|
1497
|
+
static readonly triggerProtocolViolatedExternalRoutineInvocationException: string;
|
|
1498
|
+
static readonly srfProtocolViolatedExternalRoutineInvocationException: string;
|
|
1499
|
+
static readonly eventTriggerProtocolViolatedExternalRoutineInvocationException: string;
|
|
1500
|
+
static readonly savepointException: string;
|
|
1501
|
+
static readonly invalidSavepointSpecification: string;
|
|
1502
|
+
static readonly invalidCatalogName: string;
|
|
1503
|
+
static readonly invalidSchemaName: string;
|
|
1504
|
+
static readonly transactionRollback: string;
|
|
1505
|
+
static readonly transactionIntegrityConstraintViolation: string;
|
|
1506
|
+
static readonly serializationFailure: string;
|
|
1507
|
+
static readonly statementCompletionUnknown: string;
|
|
1508
|
+
static readonly deadlockDetected: string;
|
|
1509
|
+
static readonly syntaxErrorOrAccessRuleViolation: string;
|
|
1510
|
+
static readonly syntaxError: string;
|
|
1511
|
+
static readonly insufficientPrivilege: string;
|
|
1512
|
+
static readonly cannotCoerce: string;
|
|
1513
|
+
static readonly groupingError: string;
|
|
1514
|
+
static readonly windowingError: string;
|
|
1515
|
+
static readonly invalidRecursion: string;
|
|
1516
|
+
static readonly invalidForeignKey: string;
|
|
1517
|
+
static readonly invalidName: string;
|
|
1518
|
+
static readonly nameTooLong: string;
|
|
1519
|
+
static readonly reservedName: string;
|
|
1520
|
+
static readonly datatypeMismatch: string;
|
|
1521
|
+
static readonly indeterminateDatatype: string;
|
|
1522
|
+
static readonly collationMismatch: string;
|
|
1523
|
+
static readonly indeterminateCollation: string;
|
|
1524
|
+
static readonly wrongObjectType: string;
|
|
1525
|
+
static readonly undefinedColumn: string;
|
|
1526
|
+
static readonly undefinedFunction: string;
|
|
1527
|
+
static readonly undefinedTable: string;
|
|
1528
|
+
static readonly undefinedParameter: string;
|
|
1529
|
+
static readonly undefinedObject: string;
|
|
1530
|
+
static readonly duplicateColumn: string;
|
|
1531
|
+
static readonly duplicateCursor: string;
|
|
1532
|
+
static readonly duplicateDatabase: string;
|
|
1533
|
+
static readonly duplicateFunction: string;
|
|
1534
|
+
static readonly duplicatePreparedStatement: string;
|
|
1535
|
+
static readonly duplicateSchema: string;
|
|
1536
|
+
static readonly duplicateTable: string;
|
|
1537
|
+
static readonly duplicateAlias: string;
|
|
1538
|
+
static readonly duplicateObject: string;
|
|
1539
|
+
static readonly ambiguousColumn: string;
|
|
1540
|
+
static readonly ambiguousFunction: string;
|
|
1541
|
+
static readonly ambiguousParameter: string;
|
|
1542
|
+
static readonly ambiguousAlias: string;
|
|
1543
|
+
static readonly invalidColumnReference: string;
|
|
1544
|
+
static readonly invalidColumnDefinition: string;
|
|
1545
|
+
static readonly invalidCursorDefinition: string;
|
|
1546
|
+
static readonly invalidDatabaseDefinition: string;
|
|
1547
|
+
static readonly invalidFunctionDefinition: string;
|
|
1548
|
+
static readonly invalidPreparedStatementDefinition: string;
|
|
1549
|
+
static readonly invalidSchemaDefinition: string;
|
|
1550
|
+
static readonly invalidTableDefinition: string;
|
|
1551
|
+
static readonly invalidObjectDefinition: string;
|
|
1552
|
+
static readonly withCheckOptionViolation: string;
|
|
1553
|
+
static readonly insufficientResources: string;
|
|
1554
|
+
static readonly diskFull: string;
|
|
1555
|
+
static readonly outOfMemory: string;
|
|
1556
|
+
static readonly tooManyConnections: string;
|
|
1557
|
+
static readonly configurationLimitExceeded: string;
|
|
1558
|
+
static readonly programLimitExceeded: string;
|
|
1559
|
+
static readonly statementTooComplex: string;
|
|
1560
|
+
static readonly tooManyColumns: string;
|
|
1561
|
+
static readonly tooManyArguments: string;
|
|
1562
|
+
static readonly objectNotInPrerequisiteState: string;
|
|
1563
|
+
static readonly objectInUse: string;
|
|
1564
|
+
static readonly cantChangeRuntimeParam: string;
|
|
1565
|
+
static readonly lockNotAvailable: string;
|
|
1566
|
+
static readonly operatorIntervention: string;
|
|
1567
|
+
static readonly queryCanceled: string;
|
|
1568
|
+
static readonly adminShutdown: string;
|
|
1569
|
+
static readonly crashShutdown: string;
|
|
1570
|
+
static readonly cannotConnectNow: string;
|
|
1571
|
+
static readonly databaseDropped: string;
|
|
1572
|
+
static readonly idleSessionTimeout: string;
|
|
1573
|
+
static readonly systemError: string;
|
|
1574
|
+
static readonly ioError: string;
|
|
1575
|
+
static readonly undefinedFile: string;
|
|
1576
|
+
static readonly duplicateFile: string;
|
|
1577
|
+
static readonly snapshotFailure: string;
|
|
1578
|
+
static readonly configFileError: string;
|
|
1579
|
+
static readonly lockFileExists: string;
|
|
1580
|
+
static readonly fdwError: string;
|
|
1581
|
+
static readonly fdwColumnNameNotFound: string;
|
|
1582
|
+
static readonly fdwDynamicParameterValueNeeded: string;
|
|
1583
|
+
static readonly fdwFunctionSequenceError: string;
|
|
1584
|
+
static readonly fdwInconsistentDescriptorInformation: string;
|
|
1585
|
+
static readonly fdwInvalidAttributeValue: string;
|
|
1586
|
+
static readonly fdwInvalidColumnName: string;
|
|
1587
|
+
static readonly fdwInvalidColumnNumber: string;
|
|
1588
|
+
static readonly fdwInvalidDataType: string;
|
|
1589
|
+
static readonly fdwInvalidDataTypeDescriptors: string;
|
|
1590
|
+
static readonly fdwInvalidDescriptorFieldIdentifier: string;
|
|
1591
|
+
static readonly fdwInvalidHandle: string;
|
|
1592
|
+
static readonly fdwInvalidOptionIndex: string;
|
|
1593
|
+
static readonly fdwInvalidOptionName: string;
|
|
1594
|
+
static readonly fdwInvalidStringLengthOrBufferLength: string;
|
|
1595
|
+
static readonly fdwInvalidStringFormat: string;
|
|
1596
|
+
static readonly fdwInvalidUseOfNullPointer: string;
|
|
1597
|
+
static readonly fdwTooManyHandles: string;
|
|
1598
|
+
static readonly fdwOutOfMemory: string;
|
|
1599
|
+
static readonly fdwNoSchemas: string;
|
|
1600
|
+
static readonly fdwOptionNameNotFound: string;
|
|
1601
|
+
static readonly fdwReplyHandle: string;
|
|
1602
|
+
static readonly fdwSchemaNotFound: string;
|
|
1603
|
+
static readonly fdwTableNotFound: string;
|
|
1604
|
+
static readonly fdwUnableToCreateExecution: string;
|
|
1605
|
+
static readonly fdwUnableToCreateReply: string;
|
|
1606
|
+
static readonly fdwUnableToEstablishConnection: string;
|
|
1607
|
+
static readonly plpgsqlError: string;
|
|
1608
|
+
static readonly raiseException: string;
|
|
1609
|
+
static readonly noDataFound: string;
|
|
1610
|
+
static readonly tooManyRows: string;
|
|
1611
|
+
static readonly assertFailure: string;
|
|
1612
|
+
static readonly internalError: string;
|
|
1613
|
+
static readonly dataCorrupted: string;
|
|
1614
|
+
static readonly indexCorrupted: string;
|
|
1615
|
+
}
|
|
1616
|
+
|
|
1617
|
+
|
|
1618
|
+
export type PostgresErrorCodes = PostgresErrorCodes$instance;
|
|
1619
|
+
|