@tsonic/efcore-sqlite 0.1.0
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.Data.Sqlite/bindings.json +6892 -0
- package/Microsoft.Data.Sqlite/internal/index.d.ts +430 -0
- package/Microsoft.Data.Sqlite/internal/metadata.json +4417 -0
- package/Microsoft.Data.Sqlite.d.ts +34 -0
- package/Microsoft.Data.Sqlite.js +9 -0
- package/Microsoft.DotNet.PlatformAbstractions/bindings.json +167 -0
- package/Microsoft.DotNet.PlatformAbstractions/internal/index.d.ts +29 -0
- package/Microsoft.DotNet.PlatformAbstractions/internal/metadata.json +121 -0
- package/Microsoft.DotNet.PlatformAbstractions.d.ts +13 -0
- package/Microsoft.DotNet.PlatformAbstractions.js +9 -0
- package/Microsoft.EntityFrameworkCore/bindings.json +1892 -0
- package/Microsoft.EntityFrameworkCore/internal/index.d.ts +156 -0
- package/Microsoft.EntityFrameworkCore/internal/metadata.json +1368 -0
- package/Microsoft.EntityFrameworkCore.Diagnostics/bindings.json +528 -0
- package/Microsoft.EntityFrameworkCore.Diagnostics/internal/index.d.ts +55 -0
- package/Microsoft.EntityFrameworkCore.Diagnostics/internal/metadata.json +267 -0
- package/Microsoft.EntityFrameworkCore.Diagnostics.d.ts +17 -0
- package/Microsoft.EntityFrameworkCore.Diagnostics.js +9 -0
- package/Microsoft.EntityFrameworkCore.Infrastructure/bindings.json +102 -0
- package/Microsoft.EntityFrameworkCore.Infrastructure/internal/index.d.ts +36 -0
- package/Microsoft.EntityFrameworkCore.Infrastructure/internal/metadata.json +82 -0
- package/Microsoft.EntityFrameworkCore.Infrastructure.d.ts +17 -0
- package/Microsoft.EntityFrameworkCore.Infrastructure.js +9 -0
- package/Microsoft.EntityFrameworkCore.Metadata/bindings.json +83 -0
- package/Microsoft.EntityFrameworkCore.Metadata/internal/index.d.ts +17 -0
- package/Microsoft.EntityFrameworkCore.Metadata/internal/metadata.json +54 -0
- package/Microsoft.EntityFrameworkCore.Metadata.Conventions/bindings.json +304 -0
- package/Microsoft.EntityFrameworkCore.Metadata.Conventions/internal/index.d.ts +78 -0
- package/Microsoft.EntityFrameworkCore.Metadata.Conventions/internal/metadata.json +203 -0
- package/Microsoft.EntityFrameworkCore.Metadata.Conventions.d.ts +21 -0
- package/Microsoft.EntityFrameworkCore.Metadata.Conventions.js +9 -0
- package/Microsoft.EntityFrameworkCore.Metadata.d.ts +12 -0
- package/Microsoft.EntityFrameworkCore.Metadata.js +9 -0
- package/Microsoft.EntityFrameworkCore.Migrations/bindings.json +105 -0
- package/Microsoft.EntityFrameworkCore.Migrations/internal/index.d.ts +35 -0
- package/Microsoft.EntityFrameworkCore.Migrations/internal/metadata.json +81 -0
- package/Microsoft.EntityFrameworkCore.Migrations.d.ts +17 -0
- package/Microsoft.EntityFrameworkCore.Migrations.js +9 -0
- package/Microsoft.EntityFrameworkCore.Sqlite.Design.Internal/bindings.json +236 -0
- package/Microsoft.EntityFrameworkCore.Sqlite.Design.Internal/internal/index.d.ts +57 -0
- package/Microsoft.EntityFrameworkCore.Sqlite.Design.Internal/internal/metadata.json +157 -0
- package/Microsoft.EntityFrameworkCore.Sqlite.Design.Internal.d.ts +20 -0
- package/Microsoft.EntityFrameworkCore.Sqlite.Design.Internal.js +9 -0
- package/Microsoft.EntityFrameworkCore.Sqlite.Diagnostics.Internal/bindings.json +587 -0
- package/Microsoft.EntityFrameworkCore.Sqlite.Diagnostics.Internal/internal/index.d.ts +68 -0
- package/Microsoft.EntityFrameworkCore.Sqlite.Diagnostics.Internal/internal/metadata.json +293 -0
- package/Microsoft.EntityFrameworkCore.Sqlite.Diagnostics.Internal.d.ts +15 -0
- package/Microsoft.EntityFrameworkCore.Sqlite.Diagnostics.Internal.js +9 -0
- package/Microsoft.EntityFrameworkCore.Sqlite.Infrastructure.Internal/bindings.json +202 -0
- package/Microsoft.EntityFrameworkCore.Sqlite.Infrastructure.Internal/internal/index.d.ts +44 -0
- package/Microsoft.EntityFrameworkCore.Sqlite.Infrastructure.Internal/internal/metadata.json +133 -0
- package/Microsoft.EntityFrameworkCore.Sqlite.Infrastructure.Internal.d.ts +18 -0
- package/Microsoft.EntityFrameworkCore.Sqlite.Infrastructure.Internal.js +9 -0
- package/Microsoft.EntityFrameworkCore.Sqlite.Internal/bindings.json +1253 -0
- package/Microsoft.EntityFrameworkCore.Sqlite.Internal/internal/index.d.ts +83 -0
- package/Microsoft.EntityFrameworkCore.Sqlite.Internal/internal/metadata.json +855 -0
- package/Microsoft.EntityFrameworkCore.Sqlite.Internal.d.ts +18 -0
- package/Microsoft.EntityFrameworkCore.Sqlite.Internal.js +9 -0
- package/Microsoft.EntityFrameworkCore.Sqlite.Metadata.Internal/bindings.json +294 -0
- package/Microsoft.EntityFrameworkCore.Sqlite.Metadata.Internal/internal/index.d.ts +43 -0
- package/Microsoft.EntityFrameworkCore.Sqlite.Metadata.Internal/internal/metadata.json +161 -0
- package/Microsoft.EntityFrameworkCore.Sqlite.Metadata.Internal.d.ts +16 -0
- package/Microsoft.EntityFrameworkCore.Sqlite.Metadata.Internal.js +9 -0
- package/Microsoft.EntityFrameworkCore.Sqlite.Migrations.Internal/bindings.json +325 -0
- package/Microsoft.EntityFrameworkCore.Sqlite.Migrations.Internal/internal/index.d.ts +48 -0
- package/Microsoft.EntityFrameworkCore.Sqlite.Migrations.Internal/internal/metadata.json +214 -0
- package/Microsoft.EntityFrameworkCore.Sqlite.Migrations.Internal.d.ts +17 -0
- package/Microsoft.EntityFrameworkCore.Sqlite.Migrations.Internal.js +9 -0
- package/Microsoft.EntityFrameworkCore.Sqlite.Query.Internal/bindings.json +2892 -0
- package/Microsoft.EntityFrameworkCore.Sqlite.Query.Internal/internal/index.d.ts +512 -0
- package/Microsoft.EntityFrameworkCore.Sqlite.Query.Internal/internal/metadata.json +1844 -0
- package/Microsoft.EntityFrameworkCore.Sqlite.Query.Internal.d.ts +59 -0
- package/Microsoft.EntityFrameworkCore.Sqlite.Query.Internal.js +9 -0
- package/Microsoft.EntityFrameworkCore.Sqlite.Scaffolding.Internal/bindings.json +151 -0
- package/Microsoft.EntityFrameworkCore.Sqlite.Scaffolding.Internal/internal/index.d.ts +44 -0
- package/Microsoft.EntityFrameworkCore.Sqlite.Scaffolding.Internal/internal/metadata.json +102 -0
- package/Microsoft.EntityFrameworkCore.Sqlite.Scaffolding.Internal.d.ts +20 -0
- package/Microsoft.EntityFrameworkCore.Sqlite.Scaffolding.Internal.js +9 -0
- package/Microsoft.EntityFrameworkCore.Sqlite.Storage.Internal/bindings.json +1096 -0
- package/Microsoft.EntityFrameworkCore.Sqlite.Storage.Internal/internal/index.d.ts +210 -0
- package/Microsoft.EntityFrameworkCore.Sqlite.Storage.Internal/internal/metadata.json +707 -0
- package/Microsoft.EntityFrameworkCore.Sqlite.Storage.Internal.d.ts +34 -0
- package/Microsoft.EntityFrameworkCore.Sqlite.Storage.Internal.js +9 -0
- package/Microsoft.EntityFrameworkCore.Sqlite.Storage.Json.Internal/bindings.json +605 -0
- package/Microsoft.EntityFrameworkCore.Sqlite.Storage.Json.Internal/internal/index.d.ts +93 -0
- package/Microsoft.EntityFrameworkCore.Sqlite.Storage.Json.Internal/internal/metadata.json +438 -0
- package/Microsoft.EntityFrameworkCore.Sqlite.Storage.Json.Internal.d.ts +19 -0
- package/Microsoft.EntityFrameworkCore.Sqlite.Storage.Json.Internal.js +9 -0
- package/Microsoft.EntityFrameworkCore.Sqlite.Update.Internal/bindings.json +413 -0
- package/Microsoft.EntityFrameworkCore.Sqlite.Update.Internal/internal/index.d.ts +80 -0
- package/Microsoft.EntityFrameworkCore.Sqlite.Update.Internal/internal/metadata.json +280 -0
- package/Microsoft.EntityFrameworkCore.Sqlite.Update.Internal.d.ts +18 -0
- package/Microsoft.EntityFrameworkCore.Sqlite.Update.Internal.js +9 -0
- package/Microsoft.EntityFrameworkCore.d.ts +29 -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/Microsoft.Extensions.DependencyModel/bindings.json +2871 -0
- package/Microsoft.Extensions.DependencyModel/internal/index.d.ts +287 -0
- package/Microsoft.Extensions.DependencyModel/internal/metadata.json +1654 -0
- package/Microsoft.Extensions.DependencyModel.Resolution/bindings.json +526 -0
- package/Microsoft.Extensions.DependencyModel.Resolution/internal/index.d.ts +112 -0
- package/Microsoft.Extensions.DependencyModel.Resolution/internal/metadata.json +329 -0
- package/Microsoft.Extensions.DependencyModel.Resolution.d.ts +19 -0
- package/Microsoft.Extensions.DependencyModel.Resolution.js +9 -0
- package/Microsoft.Extensions.DependencyModel.d.ts +35 -0
- package/Microsoft.Extensions.DependencyModel.js +9 -0
- package/README.md +5 -0
- package/SQLitePCL/bindings.json +19341 -0
- package/SQLitePCL/internal/index.d.ts +994 -0
- package/SQLitePCL/internal/metadata.json +11902 -0
- package/SQLitePCL.d.ts +64 -0
- package/SQLitePCL.js +9 -0
- package/System.Collections.Generic/bindings.json +164 -0
- package/System.Collections.Generic/internal/index.d.ts +25 -0
- package/System.Collections.Generic/internal/metadata.json +123 -0
- package/System.Collections.Generic.d.ts +14 -0
- package/System.Collections.Generic.js +9 -0
- package/__build/ref/Program.cs +5 -0
- package/__build/ref/ref.csproj +14 -0
- package/__build/scripts/generate.sh +116 -0
- package/__internal/extensions/index.d.ts +44 -0
- package/families.json +1 -0
- package/package.json +28 -0
- package/tsconfig.json +20 -0
|
@@ -0,0 +1,430 @@
|
|
|
1
|
+
// Generated by tsbindgen - Architecture
|
|
2
|
+
// Namespace: Microsoft.Data.Sqlite
|
|
3
|
+
// Assembly: Microsoft.Data.Sqlite
|
|
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 { sqlite3, sqlite3_stmt } from "../../SQLitePCL/internal/index.js";
|
|
13
|
+
import type { IEnumerable as IEnumerable__System_Collections_Generic } from "@tsonic/dotnet/System.Collections.Generic.js";
|
|
14
|
+
import * as System_Collections_Internal from "@tsonic/dotnet/System.Collections.js";
|
|
15
|
+
import type { ICollection, IDictionary, IEnumerable, IEnumerator, IList } from "@tsonic/dotnet/System.Collections.js";
|
|
16
|
+
import * as System_ComponentModel_Internal from "@tsonic/dotnet/System.ComponentModel.js";
|
|
17
|
+
import type { IComponent, ICustomTypeDescriptor } from "@tsonic/dotnet/System.ComponentModel.js";
|
|
18
|
+
import * as System_Data_Common_Internal from "@tsonic/dotnet/System.Data.Common.js";
|
|
19
|
+
import type { DbCommand, DbConnection, DbConnectionStringBuilder, DbDataReader, DbException, DbParameter, DbParameterCollection, DbProviderFactory, DbTransaction } from "@tsonic/dotnet/System.Data.Common.js";
|
|
20
|
+
import * as System_Data_Internal from "@tsonic/dotnet/System.Data.js";
|
|
21
|
+
import type { CommandBehavior, CommandType, ConnectionState, DataTable, DbType, IDataParameter, IDataParameterCollection, IDataReader, IDataRecord, IDbCommand, IDbConnection, IDbDataParameter, IDbTransaction, IsolationLevel, ParameterDirection, UpdateRowSource } from "@tsonic/dotnet/System.Data.js";
|
|
22
|
+
import * as System_IO_Internal from "@tsonic/dotnet/System.IO.js";
|
|
23
|
+
import type { SeekOrigin, Stream, TextReader } from "@tsonic/dotnet/System.IO.js";
|
|
24
|
+
import * as System_Internal from "@tsonic/dotnet/System.js";
|
|
25
|
+
import type { Array as ClrArray, Boolean as ClrBoolean, Byte, Char, Comparison, DateTime, DateTimeOffset, Decimal, Double, Enum, Func, Guid, IAsyncDisposable, IComparable, IConvertible, IDisposable, IFormattable, Int16, Int32, Int64, ISpanFormattable, Nullable, Object as ClrObject, ReadOnlySpan, Single, Span, String as ClrString, TimeSpan, Type, Void } from "@tsonic/dotnet/System.js";
|
|
26
|
+
import * as System_Runtime_Serialization_Internal from "@tsonic/dotnet/System.Runtime.Serialization.js";
|
|
27
|
+
import type { ISerializable } from "@tsonic/dotnet/System.Runtime.Serialization.js";
|
|
28
|
+
import type { CancellationToken } from "@tsonic/dotnet/System.Threading.js";
|
|
29
|
+
import type { Task } from "@tsonic/dotnet/System.Threading.Tasks.js";
|
|
30
|
+
|
|
31
|
+
export enum SqliteCacheMode {
|
|
32
|
+
default_ = 0,
|
|
33
|
+
private_ = 1,
|
|
34
|
+
shared = 2
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
export enum SqliteOpenMode {
|
|
39
|
+
readWriteCreate = 0,
|
|
40
|
+
readWrite = 1,
|
|
41
|
+
readOnly = 2,
|
|
42
|
+
memory = 3
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
export enum SqliteType {
|
|
47
|
+
integer = 1,
|
|
48
|
+
real = 2,
|
|
49
|
+
text = 3,
|
|
50
|
+
blob = 4
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
export interface SqliteBlob$instance extends Stream {
|
|
55
|
+
readonly canRead: boolean;
|
|
56
|
+
readonly canSeek: boolean;
|
|
57
|
+
readonly canWrite: boolean;
|
|
58
|
+
readonly length: long;
|
|
59
|
+
position: long;
|
|
60
|
+
flush(): void;
|
|
61
|
+
read(buffer: byte[], offset: int, count: int): int;
|
|
62
|
+
read(buffer: Span<System_Internal.Byte>): int;
|
|
63
|
+
seek(offset: long, origin: SeekOrigin): long;
|
|
64
|
+
setLength(value: long): void;
|
|
65
|
+
write(buffer: byte[], offset: int, count: int): void;
|
|
66
|
+
write(buffer: ReadOnlySpan<System_Internal.Byte>): void;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
export const SqliteBlob: {
|
|
71
|
+
new(connection: SqliteConnection, tableName: string, columnName: string, rowid: long, readOnly: boolean): SqliteBlob;
|
|
72
|
+
new(connection: SqliteConnection, databaseName: string, tableName: string, columnName: string, rowid: long, readOnly: boolean): SqliteBlob;
|
|
73
|
+
};
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
export type SqliteBlob = SqliteBlob$instance;
|
|
77
|
+
|
|
78
|
+
export interface SqliteCommand$instance extends DbCommand {
|
|
79
|
+
commandText: string;
|
|
80
|
+
commandTimeout: int;
|
|
81
|
+
commandType: CommandType;
|
|
82
|
+
get connection(): SqliteConnection | undefined;
|
|
83
|
+
set connection(value: SqliteConnection);
|
|
84
|
+
designTimeVisible: boolean;
|
|
85
|
+
readonly parameters: SqliteParameterCollection;
|
|
86
|
+
get transaction(): SqliteTransaction | undefined;
|
|
87
|
+
set transaction(value: SqliteTransaction);
|
|
88
|
+
updatedRowSource: UpdateRowSource;
|
|
89
|
+
cancel(): void;
|
|
90
|
+
createParameter(): SqliteParameter;
|
|
91
|
+
executeNonQuery(): int;
|
|
92
|
+
executeReader(): SqliteDataReader;
|
|
93
|
+
executeReader(behavior: CommandBehavior): SqliteDataReader;
|
|
94
|
+
executeReaderAsync(): Task<SqliteDataReader>;
|
|
95
|
+
executeReaderAsync(cancellationToken: CancellationToken): Task<SqliteDataReader>;
|
|
96
|
+
executeReaderAsync(behavior: CommandBehavior): Task<SqliteDataReader>;
|
|
97
|
+
executeReaderAsync(behavior: CommandBehavior, cancellationToken: CancellationToken): Task<SqliteDataReader>;
|
|
98
|
+
executeScalar(): unknown | undefined;
|
|
99
|
+
prepare(): void;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
export const SqliteCommand: {
|
|
104
|
+
new(): SqliteCommand;
|
|
105
|
+
new(commandText: string): SqliteCommand;
|
|
106
|
+
new(commandText: string, connection: SqliteConnection): SqliteCommand;
|
|
107
|
+
new(commandText: string, connection: SqliteConnection, transaction: SqliteTransaction): SqliteCommand;
|
|
108
|
+
};
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
export type SqliteCommand = SqliteCommand$instance;
|
|
112
|
+
|
|
113
|
+
export interface SqliteConnection$instance extends DbConnection {
|
|
114
|
+
connectionString: string;
|
|
115
|
+
readonly database: string;
|
|
116
|
+
readonly dataSource: string;
|
|
117
|
+
defaultTimeout: int;
|
|
118
|
+
readonly handle: sqlite3 | undefined;
|
|
119
|
+
readonly serverVersion: string;
|
|
120
|
+
readonly state: ConnectionState;
|
|
121
|
+
backupDatabase(destination: SqliteConnection): void;
|
|
122
|
+
backupDatabase(destination: SqliteConnection, destinationName: string, sourceName: string): void;
|
|
123
|
+
beginTransaction(): SqliteTransaction;
|
|
124
|
+
beginTransaction(deferred: boolean): SqliteTransaction;
|
|
125
|
+
beginTransaction(isolationLevel: IsolationLevel): SqliteTransaction;
|
|
126
|
+
beginTransaction(isolationLevel: IsolationLevel, deferred: boolean): SqliteTransaction;
|
|
127
|
+
changeDatabase(databaseName: string): void;
|
|
128
|
+
close(): void;
|
|
129
|
+
createAggregate<TAccumulate>(name: string, func: Func<TAccumulate, TAccumulate>, isDeterministic?: boolean): void;
|
|
130
|
+
createAggregate<T1, TAccumulate>(name: string, func: Func<TAccumulate, T1, TAccumulate>, isDeterministic?: boolean): void;
|
|
131
|
+
createAggregate<T1, T2, TAccumulate>(name: string, func: Func<TAccumulate, T1, T2, TAccumulate>, isDeterministic?: boolean): void;
|
|
132
|
+
createAggregate<T1, T2, T3, TAccumulate>(name: string, func: Func<TAccumulate, T1, T2, T3, TAccumulate>, isDeterministic?: boolean): void;
|
|
133
|
+
createAggregate<T1, T2, T3, T4, TAccumulate>(name: string, func: Func<TAccumulate, T1, T2, T3, T4, TAccumulate>, isDeterministic?: boolean): void;
|
|
134
|
+
createAggregate<T1, T2, T3, T4, T5, TAccumulate>(name: string, func: Func<TAccumulate, T1, T2, T3, T4, T5, TAccumulate>, isDeterministic?: boolean): void;
|
|
135
|
+
createAggregate<T1, T2, T3, T4, T5, T6, TAccumulate>(name: string, func: Func<TAccumulate, T1, T2, T3, T4, T5, T6, TAccumulate>, isDeterministic?: boolean): void;
|
|
136
|
+
createAggregate<T1, T2, T3, T4, T5, T6, T7, TAccumulate>(name: string, func: Func<TAccumulate, T1, T2, T3, T4, T5, T6, T7, TAccumulate>, isDeterministic?: boolean): void;
|
|
137
|
+
createAggregate<T1, T2, T3, T4, T5, T6, T7, T8, TAccumulate>(name: string, func: Func<TAccumulate, T1, T2, T3, T4, T5, T6, T7, T8, TAccumulate>, isDeterministic?: boolean): void;
|
|
138
|
+
createAggregate<T1, T2, T3, T4, T5, T6, T7, T8, T9, TAccumulate>(name: string, func: Func<TAccumulate, T1, T2, T3, T4, T5, T6, T7, T8, T9, TAccumulate>, isDeterministic?: boolean): void;
|
|
139
|
+
createAggregate<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, TAccumulate>(name: string, func: Func<TAccumulate, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, TAccumulate>, isDeterministic?: boolean): void;
|
|
140
|
+
createAggregate<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, TAccumulate>(name: string, func: Func<TAccumulate, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, TAccumulate>, isDeterministic?: boolean): void;
|
|
141
|
+
createAggregate<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, TAccumulate>(name: string, func: Func<TAccumulate, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, TAccumulate>, isDeterministic?: boolean): void;
|
|
142
|
+
createAggregate<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, TAccumulate>(name: string, func: Func<TAccumulate, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, TAccumulate>, isDeterministic?: boolean): void;
|
|
143
|
+
createAggregate<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, TAccumulate>(name: string, func: Func<TAccumulate, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, TAccumulate>, isDeterministic?: boolean): void;
|
|
144
|
+
createAggregate<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, TAccumulate>(name: string, func: Func<TAccumulate, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, TAccumulate>, isDeterministic?: boolean): void;
|
|
145
|
+
createAggregate<TAccumulate>(name: string, seed: TAccumulate, func: Func<TAccumulate, TAccumulate>, isDeterministic?: boolean): void;
|
|
146
|
+
createAggregate<T1, TAccumulate>(name: string, seed: TAccumulate, func: Func<TAccumulate, T1, TAccumulate>, isDeterministic?: boolean): void;
|
|
147
|
+
createAggregate<T1, T2, TAccumulate>(name: string, seed: TAccumulate, func: Func<TAccumulate, T1, T2, TAccumulate>, isDeterministic?: boolean): void;
|
|
148
|
+
createAggregate<T1, T2, T3, TAccumulate>(name: string, seed: TAccumulate, func: Func<TAccumulate, T1, T2, T3, TAccumulate>, isDeterministic?: boolean): void;
|
|
149
|
+
createAggregate<T1, T2, T3, T4, TAccumulate>(name: string, seed: TAccumulate, func: Func<TAccumulate, T1, T2, T3, T4, TAccumulate>, isDeterministic?: boolean): void;
|
|
150
|
+
createAggregate<T1, T2, T3, T4, T5, TAccumulate>(name: string, seed: TAccumulate, func: Func<TAccumulate, T1, T2, T3, T4, T5, TAccumulate>, isDeterministic?: boolean): void;
|
|
151
|
+
createAggregate<T1, T2, T3, T4, T5, T6, TAccumulate>(name: string, seed: TAccumulate, func: Func<TAccumulate, T1, T2, T3, T4, T5, T6, TAccumulate>, isDeterministic?: boolean): void;
|
|
152
|
+
createAggregate<T1, T2, T3, T4, T5, T6, T7, TAccumulate>(name: string, seed: TAccumulate, func: Func<TAccumulate, T1, T2, T3, T4, T5, T6, T7, TAccumulate>, isDeterministic?: boolean): void;
|
|
153
|
+
createAggregate<T1, T2, T3, T4, T5, T6, T7, T8, TAccumulate>(name: string, seed: TAccumulate, func: Func<TAccumulate, T1, T2, T3, T4, T5, T6, T7, T8, TAccumulate>, isDeterministic?: boolean): void;
|
|
154
|
+
createAggregate<T1, T2, T3, T4, T5, T6, T7, T8, T9, TAccumulate>(name: string, seed: TAccumulate, func: Func<TAccumulate, T1, T2, T3, T4, T5, T6, T7, T8, T9, TAccumulate>, isDeterministic?: boolean): void;
|
|
155
|
+
createAggregate<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, TAccumulate>(name: string, seed: TAccumulate, func: Func<TAccumulate, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, TAccumulate>, isDeterministic?: boolean): void;
|
|
156
|
+
createAggregate<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, TAccumulate>(name: string, seed: TAccumulate, func: Func<TAccumulate, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, TAccumulate>, isDeterministic?: boolean): void;
|
|
157
|
+
createAggregate<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, TAccumulate>(name: string, seed: TAccumulate, func: Func<TAccumulate, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, TAccumulate>, isDeterministic?: boolean): void;
|
|
158
|
+
createAggregate<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, TAccumulate>(name: string, seed: TAccumulate, func: Func<TAccumulate, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, TAccumulate>, isDeterministic?: boolean): void;
|
|
159
|
+
createAggregate<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, TAccumulate>(name: string, seed: TAccumulate, func: Func<TAccumulate, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, TAccumulate>, isDeterministic?: boolean): void;
|
|
160
|
+
createAggregate<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, TAccumulate>(name: string, seed: TAccumulate, func: Func<TAccumulate, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, TAccumulate>, isDeterministic?: boolean): void;
|
|
161
|
+
createAggregate<TAccumulate, TResult>(name: string, seed: TAccumulate, func: Func<TAccumulate, TAccumulate>, resultSelector: Func<TAccumulate, TResult>, isDeterministic?: boolean): void;
|
|
162
|
+
createAggregate<T1, TAccumulate, TResult>(name: string, seed: TAccumulate, func: Func<TAccumulate, T1, TAccumulate>, resultSelector: Func<TAccumulate, TResult>, isDeterministic?: boolean): void;
|
|
163
|
+
createAggregate<T1, T2, TAccumulate, TResult>(name: string, seed: TAccumulate, func: Func<TAccumulate, T1, T2, TAccumulate>, resultSelector: Func<TAccumulate, TResult>, isDeterministic?: boolean): void;
|
|
164
|
+
createAggregate<T1, T2, T3, TAccumulate, TResult>(name: string, seed: TAccumulate, func: Func<TAccumulate, T1, T2, T3, TAccumulate>, resultSelector: Func<TAccumulate, TResult>, isDeterministic?: boolean): void;
|
|
165
|
+
createAggregate<T1, T2, T3, T4, TAccumulate, TResult>(name: string, seed: TAccumulate, func: Func<TAccumulate, T1, T2, T3, T4, TAccumulate>, resultSelector: Func<TAccumulate, TResult>, isDeterministic?: boolean): void;
|
|
166
|
+
createAggregate<T1, T2, T3, T4, T5, TAccumulate, TResult>(name: string, seed: TAccumulate, func: Func<TAccumulate, T1, T2, T3, T4, T5, TAccumulate>, resultSelector: Func<TAccumulate, TResult>, isDeterministic?: boolean): void;
|
|
167
|
+
createAggregate<T1, T2, T3, T4, T5, T6, TAccumulate, TResult>(name: string, seed: TAccumulate, func: Func<TAccumulate, T1, T2, T3, T4, T5, T6, TAccumulate>, resultSelector: Func<TAccumulate, TResult>, isDeterministic?: boolean): void;
|
|
168
|
+
createAggregate<T1, T2, T3, T4, T5, T6, T7, TAccumulate, TResult>(name: string, seed: TAccumulate, func: Func<TAccumulate, T1, T2, T3, T4, T5, T6, T7, TAccumulate>, resultSelector: Func<TAccumulate, TResult>, isDeterministic?: boolean): void;
|
|
169
|
+
createAggregate<T1, T2, T3, T4, T5, T6, T7, T8, TAccumulate, TResult>(name: string, seed: TAccumulate, func: Func<TAccumulate, T1, T2, T3, T4, T5, T6, T7, T8, TAccumulate>, resultSelector: Func<TAccumulate, TResult>, isDeterministic?: boolean): void;
|
|
170
|
+
createAggregate<T1, T2, T3, T4, T5, T6, T7, T8, T9, TAccumulate, TResult>(name: string, seed: TAccumulate, func: Func<TAccumulate, T1, T2, T3, T4, T5, T6, T7, T8, T9, TAccumulate>, resultSelector: Func<TAccumulate, TResult>, isDeterministic?: boolean): void;
|
|
171
|
+
createAggregate<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, TAccumulate, TResult>(name: string, seed: TAccumulate, func: Func<TAccumulate, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, TAccumulate>, resultSelector: Func<TAccumulate, TResult>, isDeterministic?: boolean): void;
|
|
172
|
+
createAggregate<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, TAccumulate, TResult>(name: string, seed: TAccumulate, func: Func<TAccumulate, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, TAccumulate>, resultSelector: Func<TAccumulate, TResult>, isDeterministic?: boolean): void;
|
|
173
|
+
createAggregate<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, TAccumulate, TResult>(name: string, seed: TAccumulate, func: Func<TAccumulate, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, TAccumulate>, resultSelector: Func<TAccumulate, TResult>, isDeterministic?: boolean): void;
|
|
174
|
+
createAggregate<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, TAccumulate, TResult>(name: string, seed: TAccumulate, func: Func<TAccumulate, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, TAccumulate>, resultSelector: Func<TAccumulate, TResult>, isDeterministic?: boolean): void;
|
|
175
|
+
createAggregate<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, TAccumulate, TResult>(name: string, seed: TAccumulate, func: Func<TAccumulate, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, TAccumulate>, resultSelector: Func<TAccumulate, TResult>, isDeterministic?: boolean): void;
|
|
176
|
+
createAggregate<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, TAccumulate, TResult>(name: string, seed: TAccumulate, func: Func<TAccumulate, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, TAccumulate>, resultSelector: Func<TAccumulate, TResult>, isDeterministic?: boolean): void;
|
|
177
|
+
createCollation(name: string, comparison: Comparison<System_Internal.String>): void;
|
|
178
|
+
createCollation<T>(name: string, state: T, comparison: Func<T, System_Internal.String, System_Internal.String, System_Internal.Int32>): void;
|
|
179
|
+
createCommand(): SqliteCommand;
|
|
180
|
+
createFunction<TResult>(name: string, function_: Func<TResult>, isDeterministic?: boolean): void;
|
|
181
|
+
createFunction<T1, TResult>(name: string, function_: Func<T1, TResult>, isDeterministic?: boolean): void;
|
|
182
|
+
createFunction<T1, T2, TResult>(name: string, function_: Func<T1, T2, TResult>, isDeterministic?: boolean): void;
|
|
183
|
+
createFunction<T1, T2, T3, TResult>(name: string, function_: Func<T1, T2, T3, TResult>, isDeterministic?: boolean): void;
|
|
184
|
+
createFunction<T1, T2, T3, T4, TResult>(name: string, function_: Func<T1, T2, T3, T4, TResult>, isDeterministic?: boolean): void;
|
|
185
|
+
createFunction<T1, T2, T3, T4, T5, TResult>(name: string, function_: Func<T1, T2, T3, T4, T5, TResult>, isDeterministic?: boolean): void;
|
|
186
|
+
createFunction<T1, T2, T3, T4, T5, T6, TResult>(name: string, function_: Func<T1, T2, T3, T4, T5, T6, TResult>, isDeterministic?: boolean): void;
|
|
187
|
+
createFunction<T1, T2, T3, T4, T5, T6, T7, TResult>(name: string, function_: Func<T1, T2, T3, T4, T5, T6, T7, TResult>, isDeterministic?: boolean): void;
|
|
188
|
+
createFunction<T1, T2, T3, T4, T5, T6, T7, T8, TResult>(name: string, function_: Func<T1, T2, T3, T4, T5, T6, T7, T8, TResult>, isDeterministic?: boolean): void;
|
|
189
|
+
createFunction<T1, T2, T3, T4, T5, T6, T7, T8, T9, TResult>(name: string, function_: Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, TResult>, isDeterministic?: boolean): void;
|
|
190
|
+
createFunction<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, TResult>(name: string, function_: Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, TResult>, isDeterministic?: boolean): void;
|
|
191
|
+
createFunction<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, TResult>(name: string, function_: Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, TResult>, isDeterministic?: boolean): void;
|
|
192
|
+
createFunction<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, TResult>(name: string, function_: Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, TResult>, isDeterministic?: boolean): void;
|
|
193
|
+
createFunction<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, TResult>(name: string, function_: Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, TResult>, isDeterministic?: boolean): void;
|
|
194
|
+
createFunction<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, TResult>(name: string, function_: Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, TResult>, isDeterministic?: boolean): void;
|
|
195
|
+
createFunction<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, TResult>(name: string, function_: Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, TResult>, isDeterministic?: boolean): void;
|
|
196
|
+
createFunction<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, TResult>(name: string, function_: Func<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, TResult>, isDeterministic?: boolean): void;
|
|
197
|
+
createFunction<TState, TResult>(name: string, state: TState, function_: Func<TState, TResult>, isDeterministic?: boolean): void;
|
|
198
|
+
createFunction<TState, T1, TResult>(name: string, state: TState, function_: Func<TState, T1, TResult>, isDeterministic?: boolean): void;
|
|
199
|
+
createFunction<TState, T1, T2, TResult>(name: string, state: TState, function_: Func<TState, T1, T2, TResult>, isDeterministic?: boolean): void;
|
|
200
|
+
createFunction<TState, T1, T2, T3, TResult>(name: string, state: TState, function_: Func<TState, T1, T2, T3, TResult>, isDeterministic?: boolean): void;
|
|
201
|
+
createFunction<TState, T1, T2, T3, T4, TResult>(name: string, state: TState, function_: Func<TState, T1, T2, T3, T4, TResult>, isDeterministic?: boolean): void;
|
|
202
|
+
createFunction<TState, T1, T2, T3, T4, T5, TResult>(name: string, state: TState, function_: Func<TState, T1, T2, T3, T4, T5, TResult>, isDeterministic?: boolean): void;
|
|
203
|
+
createFunction<TState, T1, T2, T3, T4, T5, T6, TResult>(name: string, state: TState, function_: Func<TState, T1, T2, T3, T4, T5, T6, TResult>, isDeterministic?: boolean): void;
|
|
204
|
+
createFunction<TState, T1, T2, T3, T4, T5, T6, T7, TResult>(name: string, state: TState, function_: Func<TState, T1, T2, T3, T4, T5, T6, T7, TResult>, isDeterministic?: boolean): void;
|
|
205
|
+
createFunction<TState, T1, T2, T3, T4, T5, T6, T7, T8, TResult>(name: string, state: TState, function_: Func<TState, T1, T2, T3, T4, T5, T6, T7, T8, TResult>, isDeterministic?: boolean): void;
|
|
206
|
+
createFunction<TState, T1, T2, T3, T4, T5, T6, T7, T8, T9, TResult>(name: string, state: TState, function_: Func<TState, T1, T2, T3, T4, T5, T6, T7, T8, T9, TResult>, isDeterministic?: boolean): void;
|
|
207
|
+
createFunction<TState, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, TResult>(name: string, state: TState, function_: Func<TState, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, TResult>, isDeterministic?: boolean): void;
|
|
208
|
+
createFunction<TState, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, TResult>(name: string, state: TState, function_: Func<TState, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, TResult>, isDeterministic?: boolean): void;
|
|
209
|
+
createFunction<TState, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, TResult>(name: string, state: TState, function_: Func<TState, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, TResult>, isDeterministic?: boolean): void;
|
|
210
|
+
createFunction<TState, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, TResult>(name: string, state: TState, function_: Func<TState, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, TResult>, isDeterministic?: boolean): void;
|
|
211
|
+
createFunction<TState, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, TResult>(name: string, state: TState, function_: Func<TState, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, TResult>, isDeterministic?: boolean): void;
|
|
212
|
+
createFunction<TState, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, TResult>(name: string, state: TState, function_: Func<TState, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, TResult>, isDeterministic?: boolean): void;
|
|
213
|
+
enableExtensions(enable?: boolean): void;
|
|
214
|
+
getSchema(): DataTable;
|
|
215
|
+
getSchema(collectionName: string): DataTable;
|
|
216
|
+
getSchema(collectionName: string, restrictionValues: string[]): DataTable;
|
|
217
|
+
loadExtension(file: string, proc?: string): void;
|
|
218
|
+
open(): void;
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
|
|
222
|
+
export const SqliteConnection: {
|
|
223
|
+
new(): SqliteConnection;
|
|
224
|
+
new(connectionString: string): SqliteConnection;
|
|
225
|
+
clearAllPools(): void;
|
|
226
|
+
clearPool(connection: SqliteConnection): void;
|
|
227
|
+
};
|
|
228
|
+
|
|
229
|
+
|
|
230
|
+
export type SqliteConnection = SqliteConnection$instance;
|
|
231
|
+
|
|
232
|
+
export interface SqliteConnectionStringBuilder$instance extends DbConnectionStringBuilder {
|
|
233
|
+
cache: SqliteCacheMode;
|
|
234
|
+
dataSource: string;
|
|
235
|
+
defaultTimeout: int;
|
|
236
|
+
foreignKeys: Nullable<System_Internal.Boolean>;
|
|
237
|
+
get item(): unknown | undefined;
|
|
238
|
+
set item(value: unknown);
|
|
239
|
+
readonly keys: ICollection;
|
|
240
|
+
mode: SqliteOpenMode;
|
|
241
|
+
password: string;
|
|
242
|
+
pooling: boolean;
|
|
243
|
+
recursiveTriggers: boolean;
|
|
244
|
+
readonly values: ICollection;
|
|
245
|
+
get vfs(): string | undefined;
|
|
246
|
+
set vfs(value: string);
|
|
247
|
+
clear(): void;
|
|
248
|
+
containsKey(keyword: string): boolean;
|
|
249
|
+
remove(keyword: string): boolean;
|
|
250
|
+
shouldSerialize(keyword: string): boolean;
|
|
251
|
+
tryGetValue(keyword: string, value: unknown): boolean;
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
|
|
255
|
+
export const SqliteConnectionStringBuilder: {
|
|
256
|
+
new(): SqliteConnectionStringBuilder;
|
|
257
|
+
new(connectionString: string): SqliteConnectionStringBuilder;
|
|
258
|
+
};
|
|
259
|
+
|
|
260
|
+
|
|
261
|
+
export type SqliteConnectionStringBuilder = SqliteConnectionStringBuilder$instance;
|
|
262
|
+
|
|
263
|
+
export interface SqliteDataReader$instance extends DbDataReader {
|
|
264
|
+
readonly depth: int;
|
|
265
|
+
readonly fieldCount: int;
|
|
266
|
+
readonly handle: sqlite3_stmt | undefined;
|
|
267
|
+
readonly hasRows: boolean;
|
|
268
|
+
readonly isClosed: boolean;
|
|
269
|
+
readonly recordsAffected: int;
|
|
270
|
+
close(): void;
|
|
271
|
+
get_Item(name: string): unknown;
|
|
272
|
+
get_Item(ordinal: int): unknown;
|
|
273
|
+
getBoolean(ordinal: int): boolean;
|
|
274
|
+
getByte(ordinal: int): byte;
|
|
275
|
+
getBytes(ordinal: int, dataOffset: long, buffer: byte[], bufferOffset: int, length: int): long;
|
|
276
|
+
getChar(ordinal: int): char;
|
|
277
|
+
getChars(ordinal: int, dataOffset: long, buffer: char[], bufferOffset: int, length: int): long;
|
|
278
|
+
getDataTypeName(ordinal: int): string;
|
|
279
|
+
getDateTime(ordinal: int): DateTime;
|
|
280
|
+
getDateTimeOffset(ordinal: int): DateTimeOffset;
|
|
281
|
+
getDecimal(ordinal: int): decimal;
|
|
282
|
+
getDouble(ordinal: int): double;
|
|
283
|
+
getEnumerator(): IEnumerator;
|
|
284
|
+
getFieldType(ordinal: int): Type;
|
|
285
|
+
getFieldValue<T>(ordinal: int): T;
|
|
286
|
+
getFloat(ordinal: int): float;
|
|
287
|
+
getGuid(ordinal: int): Guid;
|
|
288
|
+
getInt16(ordinal: int): short;
|
|
289
|
+
getInt32(ordinal: int): int;
|
|
290
|
+
getInt64(ordinal: int): long;
|
|
291
|
+
getName(ordinal: int): string;
|
|
292
|
+
getOrdinal(name: string): int;
|
|
293
|
+
getSchemaTable(): DataTable;
|
|
294
|
+
getStream(ordinal: int): Stream;
|
|
295
|
+
getString(ordinal: int): string;
|
|
296
|
+
getTextReader(ordinal: int): TextReader;
|
|
297
|
+
getTimeSpan(ordinal: int): TimeSpan;
|
|
298
|
+
getValue(ordinal: int): unknown;
|
|
299
|
+
getValues(values: unknown[]): int;
|
|
300
|
+
isDBNull(ordinal: int): boolean;
|
|
301
|
+
nextResult(): boolean;
|
|
302
|
+
read(): boolean;
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
|
|
306
|
+
export const SqliteDataReader: {
|
|
307
|
+
new(): SqliteDataReader;
|
|
308
|
+
};
|
|
309
|
+
|
|
310
|
+
|
|
311
|
+
export type SqliteDataReader = SqliteDataReader$instance;
|
|
312
|
+
|
|
313
|
+
export interface SqliteException$instance extends DbException {
|
|
314
|
+
readonly sqliteErrorCode: int;
|
|
315
|
+
readonly sqliteExtendedErrorCode: int;
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
|
|
319
|
+
export const SqliteException: {
|
|
320
|
+
new(message: string, errorCode: int): SqliteException;
|
|
321
|
+
new(message: string, errorCode: int, extendedErrorCode: int): SqliteException;
|
|
322
|
+
throwExceptionForRC(rc: int, db: sqlite3): void;
|
|
323
|
+
};
|
|
324
|
+
|
|
325
|
+
|
|
326
|
+
export type SqliteException = SqliteException$instance;
|
|
327
|
+
|
|
328
|
+
export interface SqliteFactory$instance extends DbProviderFactory {
|
|
329
|
+
createCommand(): DbCommand;
|
|
330
|
+
createConnection(): DbConnection;
|
|
331
|
+
createConnectionStringBuilder(): DbConnectionStringBuilder;
|
|
332
|
+
createParameter(): DbParameter;
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
|
|
336
|
+
export const SqliteFactory: {
|
|
337
|
+
new(): SqliteFactory;
|
|
338
|
+
readonly instance: SqliteFactory;
|
|
339
|
+
};
|
|
340
|
+
|
|
341
|
+
|
|
342
|
+
export type SqliteFactory = SqliteFactory$instance;
|
|
343
|
+
|
|
344
|
+
export interface SqliteParameter$instance extends DbParameter {
|
|
345
|
+
dbType: DbType;
|
|
346
|
+
direction: ParameterDirection;
|
|
347
|
+
isNullable: boolean;
|
|
348
|
+
parameterName: string;
|
|
349
|
+
size: int;
|
|
350
|
+
sourceColumn: string;
|
|
351
|
+
sourceColumnNullMapping: boolean;
|
|
352
|
+
sqliteType: SqliteType;
|
|
353
|
+
get value(): unknown | undefined;
|
|
354
|
+
set value(value: unknown);
|
|
355
|
+
resetDbType(): void;
|
|
356
|
+
resetSqliteType(): void;
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
|
|
360
|
+
export const SqliteParameter: {
|
|
361
|
+
new(): SqliteParameter;
|
|
362
|
+
new(name: string, value: unknown): SqliteParameter;
|
|
363
|
+
new(name: string, type_: SqliteType): SqliteParameter;
|
|
364
|
+
new(name: string, type_: SqliteType, size: int): SqliteParameter;
|
|
365
|
+
new(name: string, type_: SqliteType, size: int, sourceColumn: string): SqliteParameter;
|
|
366
|
+
};
|
|
367
|
+
|
|
368
|
+
|
|
369
|
+
export type SqliteParameter = SqliteParameter$instance;
|
|
370
|
+
|
|
371
|
+
export interface SqliteParameterCollection$instance extends DbParameterCollection {
|
|
372
|
+
readonly count: int;
|
|
373
|
+
readonly syncRoot: unknown;
|
|
374
|
+
add(value: unknown): int;
|
|
375
|
+
add(value: SqliteParameter): SqliteParameter;
|
|
376
|
+
add(parameterName: string, type_: SqliteType): SqliteParameter;
|
|
377
|
+
add(parameterName: string, type_: SqliteType, size: int): SqliteParameter;
|
|
378
|
+
add(parameterName: string, type_: SqliteType, size: int, sourceColumn: string): SqliteParameter;
|
|
379
|
+
addRange(values: ClrArray): void;
|
|
380
|
+
addRange(values: IEnumerable__System_Collections_Generic<SqliteParameter>): void;
|
|
381
|
+
addWithValue(parameterName: string, value: unknown): SqliteParameter;
|
|
382
|
+
clear(): void;
|
|
383
|
+
contains(value: unknown): boolean;
|
|
384
|
+
contains(value: SqliteParameter): boolean;
|
|
385
|
+
contains(value: string): boolean;
|
|
386
|
+
copyTo(array: ClrArray, index: int): void;
|
|
387
|
+
copyTo(array: SqliteParameter[], index: int): void;
|
|
388
|
+
get_Item(index: int): SqliteParameter;
|
|
389
|
+
get_Item(parameterName: string): SqliteParameter;
|
|
390
|
+
getEnumerator(): IEnumerator;
|
|
391
|
+
indexOf(value: unknown): int;
|
|
392
|
+
indexOf(value: SqliteParameter): int;
|
|
393
|
+
indexOf(parameterName: string): int;
|
|
394
|
+
insert(index: int, value: unknown): void;
|
|
395
|
+
insert(index: int, value: SqliteParameter): void;
|
|
396
|
+
remove(value: unknown): void;
|
|
397
|
+
remove(value: SqliteParameter): void;
|
|
398
|
+
removeAt(index: int): void;
|
|
399
|
+
removeAt(parameterName: string): void;
|
|
400
|
+
set_Item(index: int, value: SqliteParameter): void;
|
|
401
|
+
set_Item(parameterName: string, value: SqliteParameter): void;
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
|
|
405
|
+
export const SqliteParameterCollection: {
|
|
406
|
+
new(): SqliteParameterCollection;
|
|
407
|
+
};
|
|
408
|
+
|
|
409
|
+
|
|
410
|
+
export type SqliteParameterCollection = SqliteParameterCollection$instance;
|
|
411
|
+
|
|
412
|
+
export interface SqliteTransaction$instance extends DbTransaction {
|
|
413
|
+
readonly connection: SqliteConnection | undefined;
|
|
414
|
+
readonly isolationLevel: IsolationLevel;
|
|
415
|
+
readonly supportsSavepoints: boolean;
|
|
416
|
+
commit(): void;
|
|
417
|
+
release(savepointName: string): void;
|
|
418
|
+
rollback(): void;
|
|
419
|
+
rollback(savepointName: string): void;
|
|
420
|
+
save(savepointName: string): void;
|
|
421
|
+
}
|
|
422
|
+
|
|
423
|
+
|
|
424
|
+
export const SqliteTransaction: {
|
|
425
|
+
new(): SqliteTransaction;
|
|
426
|
+
};
|
|
427
|
+
|
|
428
|
+
|
|
429
|
+
export type SqliteTransaction = SqliteTransaction$instance;
|
|
430
|
+
|