@tsonic/efcore-sqlite 0.1.1 → 10.0.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/Microsoft.Data.Sqlite/bindings.json +1757 -3354
- package/Microsoft.Data.Sqlite/internal/index.d.ts +261 -261
- package/Microsoft.DotNet.PlatformAbstractions/bindings.json +45 -72
- package/Microsoft.DotNet.PlatformAbstractions/internal/index.d.ts +6 -6
- package/Microsoft.EntityFrameworkCore/bindings.json +497 -803
- package/Microsoft.EntityFrameworkCore/internal/index.d.ts +69 -69
- package/Microsoft.EntityFrameworkCore.Diagnostics/bindings.json +53 -260
- package/Microsoft.EntityFrameworkCore.Diagnostics/internal/index.d.ts +22 -22
- package/Microsoft.EntityFrameworkCore.Infrastructure/bindings.json +31 -38
- package/Microsoft.EntityFrameworkCore.Infrastructure/internal/index.d.ts +2 -2
- package/Microsoft.EntityFrameworkCore.Metadata/bindings.json +15 -37
- package/Microsoft.EntityFrameworkCore.Metadata/internal/index.d.ts +2 -2
- package/Microsoft.EntityFrameworkCore.Metadata.Conventions/bindings.json +65 -121
- package/Microsoft.EntityFrameworkCore.Metadata.Conventions/internal/index.d.ts +5 -5
- package/Microsoft.EntityFrameworkCore.Migrations/bindings.json +29 -40
- package/Microsoft.EntityFrameworkCore.Migrations/internal/index.d.ts +2 -2
- package/Microsoft.EntityFrameworkCore.Sqlite.Design.Internal/bindings.json +51 -97
- package/Microsoft.EntityFrameworkCore.Sqlite.Design.Internal/internal/index.d.ts +5 -5
- package/Microsoft.EntityFrameworkCore.Sqlite.Diagnostics.Internal/bindings.json +55 -284
- package/Microsoft.EntityFrameworkCore.Sqlite.Diagnostics.Internal/internal/index.d.ts +22 -22
- package/Microsoft.EntityFrameworkCore.Sqlite.Infrastructure.Internal/bindings.json +43 -85
- package/Microsoft.EntityFrameworkCore.Sqlite.Infrastructure.Internal/internal/index.d.ts +5 -5
- package/Microsoft.EntityFrameworkCore.Sqlite.Internal/bindings.json +319 -564
- package/Microsoft.EntityFrameworkCore.Sqlite.Internal/internal/index.d.ts +50 -50
- package/Microsoft.EntityFrameworkCore.Sqlite.Metadata.Internal/bindings.json +37 -139
- package/Microsoft.EntityFrameworkCore.Sqlite.Metadata.Internal/internal/index.d.ts +11 -11
- package/Microsoft.EntityFrameworkCore.Sqlite.Migrations.Internal/bindings.json +73 -142
- package/Microsoft.EntityFrameworkCore.Sqlite.Migrations.Internal/internal/index.d.ts +10 -10
- package/Microsoft.EntityFrameworkCore.Sqlite.Query.Internal/bindings.json +578 -1209
- package/Microsoft.EntityFrameworkCore.Sqlite.Query.Internal/internal/index.d.ts +60 -60
- package/Microsoft.EntityFrameworkCore.Sqlite.Scaffolding.Internal/bindings.json +33 -61
- package/Microsoft.EntityFrameworkCore.Sqlite.Scaffolding.Internal/internal/index.d.ts +3 -3
- package/Microsoft.EntityFrameworkCore.Sqlite.Storage.Internal/bindings.json +223 -458
- package/Microsoft.EntityFrameworkCore.Sqlite.Storage.Internal/internal/index.d.ts +22 -22
- package/Microsoft.EntityFrameworkCore.Sqlite.Storage.Json.Internal/bindings.json +148 -250
- package/Microsoft.EntityFrameworkCore.Sqlite.Storage.Json.Internal/internal/index.d.ts +20 -20
- package/Microsoft.EntityFrameworkCore.Sqlite.Update.Internal/bindings.json +75 -152
- package/Microsoft.EntityFrameworkCore.Sqlite.Update.Internal/internal/index.d.ts +7 -7
- package/Microsoft.Extensions.DependencyInjection/bindings.json +28 -26
- package/Microsoft.Extensions.DependencyInjection/internal/index.d.ts +2 -2
- package/Microsoft.Extensions.DependencyModel/bindings.json +530 -1368
- package/Microsoft.Extensions.DependencyModel/internal/index.d.ts +78 -78
- package/Microsoft.Extensions.DependencyModel.Resolution/bindings.json +109 -228
- package/Microsoft.Extensions.DependencyModel.Resolution/internal/index.d.ts +7 -7
- package/SQLitePCL/bindings.json +9554 -14759
- package/SQLitePCL/internal/index.d.ts +33 -33
- package/System.Collections.Generic/bindings.json +48 -70
- package/System.Collections.Generic/internal/index.d.ts +6 -6
- package/__build/scripts/generate.sh +4 -4
- package/__internal/extensions/index.d.ts +12 -12
- package/package.json +5 -5
- package/Microsoft.Data.Sqlite/internal/metadata.json +0 -4417
- package/Microsoft.DotNet.PlatformAbstractions/internal/metadata.json +0 -121
- package/Microsoft.EntityFrameworkCore/internal/metadata.json +0 -1368
- package/Microsoft.EntityFrameworkCore.Diagnostics/internal/metadata.json +0 -267
- package/Microsoft.EntityFrameworkCore.Infrastructure/internal/metadata.json +0 -82
- package/Microsoft.EntityFrameworkCore.Metadata/internal/metadata.json +0 -54
- package/Microsoft.EntityFrameworkCore.Metadata.Conventions/internal/metadata.json +0 -203
- package/Microsoft.EntityFrameworkCore.Migrations/internal/metadata.json +0 -81
- package/Microsoft.EntityFrameworkCore.Sqlite.Design.Internal/internal/metadata.json +0 -157
- package/Microsoft.EntityFrameworkCore.Sqlite.Diagnostics.Internal/internal/metadata.json +0 -293
- package/Microsoft.EntityFrameworkCore.Sqlite.Infrastructure.Internal/internal/metadata.json +0 -133
- package/Microsoft.EntityFrameworkCore.Sqlite.Internal/internal/metadata.json +0 -855
- package/Microsoft.EntityFrameworkCore.Sqlite.Metadata.Internal/internal/metadata.json +0 -161
- package/Microsoft.EntityFrameworkCore.Sqlite.Migrations.Internal/internal/metadata.json +0 -214
- package/Microsoft.EntityFrameworkCore.Sqlite.Query.Internal/internal/metadata.json +0 -1844
- package/Microsoft.EntityFrameworkCore.Sqlite.Scaffolding.Internal/internal/metadata.json +0 -102
- package/Microsoft.EntityFrameworkCore.Sqlite.Storage.Internal/internal/metadata.json +0 -707
- package/Microsoft.EntityFrameworkCore.Sqlite.Storage.Json.Internal/internal/metadata.json +0 -438
- package/Microsoft.EntityFrameworkCore.Sqlite.Update.Internal/internal/metadata.json +0 -280
- package/Microsoft.Extensions.DependencyInjection/internal/metadata.json +0 -63
- package/Microsoft.Extensions.DependencyModel/internal/metadata.json +0 -1654
- package/Microsoft.Extensions.DependencyModel.Resolution/internal/metadata.json +0 -329
- package/SQLitePCL/internal/metadata.json +0 -11902
- package/System.Collections.Generic/internal/metadata.json +0 -123
|
@@ -21,13 +21,13 @@ import type { ITableBasedExpression, SqlExpression, TableExpressionBase, TableVa
|
|
|
21
21
|
import type { IRelationalTypeMappingSource, RelationalTypeMapping } from "@tsonic/efcore/Microsoft.EntityFrameworkCore.Storage.js";
|
|
22
22
|
|
|
23
23
|
export interface GlobExpression$instance extends SqlExpression {
|
|
24
|
-
readonly
|
|
25
|
-
readonly
|
|
26
|
-
readonly
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
24
|
+
readonly Match: SqlExpression;
|
|
25
|
+
readonly Pattern: SqlExpression;
|
|
26
|
+
readonly TypeMapping: RelationalTypeMapping;
|
|
27
|
+
Equals(obj: unknown): boolean;
|
|
28
|
+
GetHashCode(): int;
|
|
29
|
+
Quote(): Expression;
|
|
30
|
+
Update(match: SqlExpression, pattern: SqlExpression): GlobExpression;
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
|
|
@@ -39,14 +39,14 @@ export const GlobExpression: {
|
|
|
39
39
|
export type GlobExpression = GlobExpression$instance;
|
|
40
40
|
|
|
41
41
|
export interface JsonEachExpression$instance extends TableValuedFunctionExpression {
|
|
42
|
-
readonly
|
|
43
|
-
readonly
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
42
|
+
readonly JsonExpression: SqlExpression;
|
|
43
|
+
readonly Path: IReadOnlyList<PathSegment> | undefined;
|
|
44
|
+
Clone(alias: string, cloningExpressionVisitor: ExpressionVisitor): TableExpressionBase;
|
|
45
|
+
Equals(obj: unknown): boolean;
|
|
46
|
+
GetHashCode(): int;
|
|
47
|
+
Quote(): Expression;
|
|
48
|
+
Update(jsonExpression: SqlExpression, path: IReadOnlyList<PathSegment>): JsonEachExpression;
|
|
49
|
+
WithAlias(newAlias: string): JsonEachExpression;
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
|
|
@@ -58,13 +58,13 @@ export const JsonEachExpression: {
|
|
|
58
58
|
export type JsonEachExpression = JsonEachExpression$instance;
|
|
59
59
|
|
|
60
60
|
export interface RegexpExpression$instance extends SqlExpression {
|
|
61
|
-
readonly
|
|
62
|
-
readonly
|
|
63
|
-
readonly
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
61
|
+
readonly Match: SqlExpression;
|
|
62
|
+
readonly Pattern: SqlExpression;
|
|
63
|
+
readonly TypeMapping: RelationalTypeMapping;
|
|
64
|
+
Equals(obj: unknown): boolean;
|
|
65
|
+
GetHashCode(): int;
|
|
66
|
+
Quote(): Expression;
|
|
67
|
+
Update(match: SqlExpression, pattern: SqlExpression): RegexpExpression;
|
|
68
68
|
}
|
|
69
69
|
|
|
70
70
|
|
|
@@ -87,7 +87,7 @@ export const SqliteAggregateMethodCallTranslatorProvider: {
|
|
|
87
87
|
export type SqliteAggregateMethodCallTranslatorProvider = SqliteAggregateMethodCallTranslatorProvider$instance;
|
|
88
88
|
|
|
89
89
|
export interface SqliteByteArrayMethodTranslator$instance {
|
|
90
|
-
|
|
90
|
+
Translate(instance: SqlExpression, method: MethodInfo, arguments: IReadOnlyList<SqlExpression>, logger: IDiagnosticsLogger<DbLoggerCategory$Query>): SqlExpression | undefined;
|
|
91
91
|
}
|
|
92
92
|
|
|
93
93
|
|
|
@@ -99,7 +99,7 @@ export const SqliteByteArrayMethodTranslator: {
|
|
|
99
99
|
export type SqliteByteArrayMethodTranslator = SqliteByteArrayMethodTranslator$instance;
|
|
100
100
|
|
|
101
101
|
export interface SqliteCharMethodTranslator$instance {
|
|
102
|
-
|
|
102
|
+
Translate(instance: SqlExpression, method: MethodInfo, arguments: IReadOnlyList<SqlExpression>, logger: IDiagnosticsLogger<DbLoggerCategory$Query>): SqlExpression | undefined;
|
|
103
103
|
}
|
|
104
104
|
|
|
105
105
|
|
|
@@ -111,7 +111,7 @@ export const SqliteCharMethodTranslator: {
|
|
|
111
111
|
export type SqliteCharMethodTranslator = SqliteCharMethodTranslator$instance;
|
|
112
112
|
|
|
113
113
|
export interface SqliteDateOnlyMemberTranslator$instance {
|
|
114
|
-
|
|
114
|
+
Translate(instance: SqlExpression, member: MemberInfo, returnType: Type, logger: IDiagnosticsLogger<DbLoggerCategory$Query>): SqlExpression | undefined;
|
|
115
115
|
}
|
|
116
116
|
|
|
117
117
|
|
|
@@ -123,7 +123,7 @@ export const SqliteDateOnlyMemberTranslator: {
|
|
|
123
123
|
export type SqliteDateOnlyMemberTranslator = SqliteDateOnlyMemberTranslator$instance;
|
|
124
124
|
|
|
125
125
|
export interface SqliteDateOnlyMethodTranslator$instance {
|
|
126
|
-
|
|
126
|
+
Translate(instance: SqlExpression, method: MethodInfo, arguments: IReadOnlyList<SqlExpression>, logger: IDiagnosticsLogger<DbLoggerCategory$Query>): SqlExpression | undefined;
|
|
127
127
|
}
|
|
128
128
|
|
|
129
129
|
|
|
@@ -135,7 +135,7 @@ export const SqliteDateOnlyMethodTranslator: {
|
|
|
135
135
|
export type SqliteDateOnlyMethodTranslator = SqliteDateOnlyMethodTranslator$instance;
|
|
136
136
|
|
|
137
137
|
export interface SqliteDateTimeMemberTranslator$instance {
|
|
138
|
-
|
|
138
|
+
Translate(instance: SqlExpression, member: MemberInfo, returnType: Type, logger: IDiagnosticsLogger<DbLoggerCategory$Query>): SqlExpression | undefined;
|
|
139
139
|
}
|
|
140
140
|
|
|
141
141
|
|
|
@@ -147,7 +147,7 @@ export const SqliteDateTimeMemberTranslator: {
|
|
|
147
147
|
export type SqliteDateTimeMemberTranslator = SqliteDateTimeMemberTranslator$instance;
|
|
148
148
|
|
|
149
149
|
export interface SqliteDateTimeMethodTranslator$instance {
|
|
150
|
-
|
|
150
|
+
Translate(instance: SqlExpression, method: MethodInfo, arguments: IReadOnlyList<SqlExpression>, logger: IDiagnosticsLogger<DbLoggerCategory$Query>): SqlExpression | undefined;
|
|
151
151
|
}
|
|
152
152
|
|
|
153
153
|
|
|
@@ -159,7 +159,7 @@ export const SqliteDateTimeMethodTranslator: {
|
|
|
159
159
|
export type SqliteDateTimeMethodTranslator = SqliteDateTimeMethodTranslator$instance;
|
|
160
160
|
|
|
161
161
|
export interface SqliteGlobMethodTranslator$instance {
|
|
162
|
-
|
|
162
|
+
Translate(instance: SqlExpression, method: MethodInfo, arguments: IReadOnlyList<SqlExpression>, logger: IDiagnosticsLogger<DbLoggerCategory$Query>): SqlExpression | undefined;
|
|
163
163
|
}
|
|
164
164
|
|
|
165
165
|
|
|
@@ -171,7 +171,7 @@ export const SqliteGlobMethodTranslator: {
|
|
|
171
171
|
export type SqliteGlobMethodTranslator = SqliteGlobMethodTranslator$instance;
|
|
172
172
|
|
|
173
173
|
export interface SqliteHexMethodTranslator$instance {
|
|
174
|
-
|
|
174
|
+
Translate(instance: SqlExpression, method: MethodInfo, arguments: IReadOnlyList<SqlExpression>, logger: IDiagnosticsLogger<DbLoggerCategory$Query>): SqlExpression | undefined;
|
|
175
175
|
}
|
|
176
176
|
|
|
177
177
|
|
|
@@ -183,7 +183,7 @@ export const SqliteHexMethodTranslator: {
|
|
|
183
183
|
export type SqliteHexMethodTranslator = SqliteHexMethodTranslator$instance;
|
|
184
184
|
|
|
185
185
|
export interface SqliteMathTranslator$instance {
|
|
186
|
-
|
|
186
|
+
Translate(instance: SqlExpression, method: MethodInfo, arguments: IReadOnlyList<SqlExpression>, logger: IDiagnosticsLogger<DbLoggerCategory$Query>): SqlExpression | undefined;
|
|
187
187
|
}
|
|
188
188
|
|
|
189
189
|
|
|
@@ -217,7 +217,7 @@ export const SqliteMethodCallTranslatorProvider: {
|
|
|
217
217
|
export type SqliteMethodCallTranslatorProvider = SqliteMethodCallTranslatorProvider$instance;
|
|
218
218
|
|
|
219
219
|
export interface SqliteObjectToStringTranslator$instance {
|
|
220
|
-
|
|
220
|
+
Translate(instance: SqlExpression, method: MethodInfo, arguments: IReadOnlyList<SqlExpression>, logger: IDiagnosticsLogger<DbLoggerCategory$Query>): SqlExpression | undefined;
|
|
221
221
|
}
|
|
222
222
|
|
|
223
223
|
|
|
@@ -240,7 +240,7 @@ export const SqliteParameterBasedSqlProcessor: {
|
|
|
240
240
|
export type SqliteParameterBasedSqlProcessor = SqliteParameterBasedSqlProcessor$instance;
|
|
241
241
|
|
|
242
242
|
export interface SqliteParameterBasedSqlProcessorFactory$instance {
|
|
243
|
-
|
|
243
|
+
Create(parameters: RelationalParameterBasedSqlProcessorParameters): RelationalParameterBasedSqlProcessor;
|
|
244
244
|
}
|
|
245
245
|
|
|
246
246
|
|
|
@@ -252,7 +252,7 @@ export const SqliteParameterBasedSqlProcessorFactory: {
|
|
|
252
252
|
export type SqliteParameterBasedSqlProcessorFactory = SqliteParameterBasedSqlProcessorFactory$instance;
|
|
253
253
|
|
|
254
254
|
export interface SqliteQueryableAggregateMethodTranslator$instance {
|
|
255
|
-
|
|
255
|
+
Translate(method: MethodInfo, source: EnumerableExpression, arguments: IReadOnlyList<SqlExpression>, logger: IDiagnosticsLogger<DbLoggerCategory$Query>): SqlExpression | undefined;
|
|
256
256
|
}
|
|
257
257
|
|
|
258
258
|
|
|
@@ -269,16 +269,16 @@ export interface SqliteQueryableMethodTranslatingExpressionVisitor$instance exte
|
|
|
269
269
|
|
|
270
270
|
export const SqliteQueryableMethodTranslatingExpressionVisitor: {
|
|
271
271
|
new(dependencies: QueryableMethodTranslatingExpressionVisitorDependencies, relationalDependencies: RelationalQueryableMethodTranslatingExpressionVisitorDependencies, queryCompilationContext: RelationalQueryCompilationContext): SqliteQueryableMethodTranslatingExpressionVisitor;
|
|
272
|
-
readonly
|
|
273
|
-
readonly
|
|
274
|
-
|
|
272
|
+
readonly JsonEachKeyColumnName: string;
|
|
273
|
+
readonly JsonEachValueColumnName: string;
|
|
274
|
+
ApplyJsonSqlConversion(expression: SqlExpression, sqlExpressionFactory: SqliteSqlExpressionFactory, typeMapping: RelationalTypeMapping, isNullable: boolean): SqlExpression;
|
|
275
275
|
};
|
|
276
276
|
|
|
277
277
|
|
|
278
278
|
export type SqliteQueryableMethodTranslatingExpressionVisitor = SqliteQueryableMethodTranslatingExpressionVisitor$instance;
|
|
279
279
|
|
|
280
280
|
export interface SqliteQueryableMethodTranslatingExpressionVisitorFactory$instance {
|
|
281
|
-
|
|
281
|
+
Create(queryCompilationContext: QueryCompilationContext): QueryableMethodTranslatingExpressionVisitor;
|
|
282
282
|
}
|
|
283
283
|
|
|
284
284
|
|
|
@@ -290,7 +290,7 @@ export const SqliteQueryableMethodTranslatingExpressionVisitorFactory: {
|
|
|
290
290
|
export type SqliteQueryableMethodTranslatingExpressionVisitorFactory = SqliteQueryableMethodTranslatingExpressionVisitorFactory$instance;
|
|
291
291
|
|
|
292
292
|
export interface SqliteQueryCompilationContext$instance extends RelationalQueryCompilationContext {
|
|
293
|
-
readonly
|
|
293
|
+
readonly SupportsPrecompiledQuery: boolean;
|
|
294
294
|
}
|
|
295
295
|
|
|
296
296
|
|
|
@@ -303,8 +303,8 @@ export const SqliteQueryCompilationContext: {
|
|
|
303
303
|
export type SqliteQueryCompilationContext = SqliteQueryCompilationContext$instance;
|
|
304
304
|
|
|
305
305
|
export interface SqliteQueryCompilationContextFactory$instance {
|
|
306
|
-
|
|
307
|
-
|
|
306
|
+
Create(async: boolean): QueryCompilationContext;
|
|
307
|
+
CreatePrecompiled(async: boolean): QueryCompilationContext;
|
|
308
308
|
}
|
|
309
309
|
|
|
310
310
|
|
|
@@ -327,7 +327,7 @@ export const SqliteQuerySqlGenerator: {
|
|
|
327
327
|
export type SqliteQuerySqlGenerator = SqliteQuerySqlGenerator$instance;
|
|
328
328
|
|
|
329
329
|
export interface SqliteQuerySqlGeneratorFactory$instance {
|
|
330
|
-
|
|
330
|
+
Create(): QuerySqlGenerator;
|
|
331
331
|
}
|
|
332
332
|
|
|
333
333
|
|
|
@@ -339,7 +339,7 @@ export const SqliteQuerySqlGeneratorFactory: {
|
|
|
339
339
|
export type SqliteQuerySqlGeneratorFactory = SqliteQuerySqlGeneratorFactory$instance;
|
|
340
340
|
|
|
341
341
|
export interface SqliteQueryStringFactory$instance {
|
|
342
|
-
|
|
342
|
+
Create(command: DbCommand): string;
|
|
343
343
|
}
|
|
344
344
|
|
|
345
345
|
|
|
@@ -351,7 +351,7 @@ export const SqliteQueryStringFactory: {
|
|
|
351
351
|
export type SqliteQueryStringFactory = SqliteQueryStringFactory$instance;
|
|
352
352
|
|
|
353
353
|
export interface SqliteQueryTranslationPostprocessor$instance extends RelationalQueryTranslationPostprocessor {
|
|
354
|
-
|
|
354
|
+
Process(query: Expression): Expression;
|
|
355
355
|
}
|
|
356
356
|
|
|
357
357
|
|
|
@@ -363,7 +363,7 @@ export const SqliteQueryTranslationPostprocessor: {
|
|
|
363
363
|
export type SqliteQueryTranslationPostprocessor = SqliteQueryTranslationPostprocessor$instance;
|
|
364
364
|
|
|
365
365
|
export interface SqliteQueryTranslationPostprocessorFactory$instance {
|
|
366
|
-
|
|
366
|
+
Create(queryCompilationContext: QueryCompilationContext): QueryTranslationPostprocessor;
|
|
367
367
|
}
|
|
368
368
|
|
|
369
369
|
|
|
@@ -375,7 +375,7 @@ export const SqliteQueryTranslationPostprocessorFactory: {
|
|
|
375
375
|
export type SqliteQueryTranslationPostprocessorFactory = SqliteQueryTranslationPostprocessorFactory$instance;
|
|
376
376
|
|
|
377
377
|
export interface SqliteRandomTranslator$instance {
|
|
378
|
-
|
|
378
|
+
Translate(instance: SqlExpression, method: MethodInfo, arguments: IReadOnlyList<SqlExpression>, logger: IDiagnosticsLogger<DbLoggerCategory$Query>): SqlExpression | undefined;
|
|
379
379
|
}
|
|
380
380
|
|
|
381
381
|
|
|
@@ -387,7 +387,7 @@ export const SqliteRandomTranslator: {
|
|
|
387
387
|
export type SqliteRandomTranslator = SqliteRandomTranslator$instance;
|
|
388
388
|
|
|
389
389
|
export interface SqliteRegexMethodTranslator$instance {
|
|
390
|
-
|
|
390
|
+
Translate(instance: SqlExpression, method: MethodInfo, arguments: IReadOnlyList<SqlExpression>, logger: IDiagnosticsLogger<DbLoggerCategory$Query>): SqlExpression | undefined;
|
|
391
391
|
}
|
|
392
392
|
|
|
393
393
|
|
|
@@ -399,11 +399,11 @@ export const SqliteRegexMethodTranslator: {
|
|
|
399
399
|
export type SqliteRegexMethodTranslator = SqliteRegexMethodTranslator$instance;
|
|
400
400
|
|
|
401
401
|
export interface SqliteSqlExpressionFactory$instance extends SqlExpressionFactory {
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
402
|
+
ApplyTypeMapping(sqlExpression: SqlExpression, typeMapping: RelationalTypeMapping): SqlExpression | undefined;
|
|
403
|
+
Date(returnType: Type, timestring: SqlExpression, modifiers?: IEnumerable<SqlExpression>, typeMapping?: RelationalTypeMapping): SqlExpression;
|
|
404
|
+
Glob(match: SqlExpression, pattern: SqlExpression): GlobExpression;
|
|
405
|
+
Regexp(match: SqlExpression, pattern: SqlExpression): RegexpExpression;
|
|
406
|
+
Strftime(returnType: Type, format: string, timestring: SqlExpression, modifiers?: IEnumerable<SqlExpression>, typeMapping?: RelationalTypeMapping): SqlExpression;
|
|
407
407
|
}
|
|
408
408
|
|
|
409
409
|
|
|
@@ -426,21 +426,21 @@ export const SqliteSqlNullabilityProcessor: {
|
|
|
426
426
|
export type SqliteSqlNullabilityProcessor = SqliteSqlNullabilityProcessor$instance;
|
|
427
427
|
|
|
428
428
|
export interface SqliteSqlTranslatingExpressionVisitor$instance extends RelationalSqlTranslatingExpressionVisitor {
|
|
429
|
-
|
|
430
|
-
|
|
429
|
+
GenerateGreatest(expressions: IReadOnlyList<SqlExpression>, resultType: Type): SqlExpression;
|
|
430
|
+
GenerateLeast(expressions: IReadOnlyList<SqlExpression>, resultType: Type): SqlExpression;
|
|
431
431
|
}
|
|
432
432
|
|
|
433
433
|
|
|
434
434
|
export const SqliteSqlTranslatingExpressionVisitor: {
|
|
435
435
|
new(dependencies: RelationalSqlTranslatingExpressionVisitorDependencies, queryCompilationContext: QueryCompilationContext, queryableMethodTranslatingExpressionVisitor: QueryableMethodTranslatingExpressionVisitor): SqliteSqlTranslatingExpressionVisitor;
|
|
436
|
-
|
|
436
|
+
ConstructLikePatternParameter(queryContext: QueryContext, baseParameterName: string, startsWith: boolean): string | undefined;
|
|
437
437
|
};
|
|
438
438
|
|
|
439
439
|
|
|
440
440
|
export type SqliteSqlTranslatingExpressionVisitor = SqliteSqlTranslatingExpressionVisitor$instance;
|
|
441
441
|
|
|
442
442
|
export interface SqliteSqlTranslatingExpressionVisitorFactory$instance {
|
|
443
|
-
|
|
443
|
+
Create(queryCompilationContext: QueryCompilationContext, queryableMethodTranslatingExpressionVisitor: QueryableMethodTranslatingExpressionVisitor): RelationalSqlTranslatingExpressionVisitor;
|
|
444
444
|
}
|
|
445
445
|
|
|
446
446
|
|
|
@@ -452,7 +452,7 @@ export const SqliteSqlTranslatingExpressionVisitorFactory: {
|
|
|
452
452
|
export type SqliteSqlTranslatingExpressionVisitorFactory = SqliteSqlTranslatingExpressionVisitorFactory$instance;
|
|
453
453
|
|
|
454
454
|
export interface SqliteStringAggregateMethodTranslator$instance {
|
|
455
|
-
|
|
455
|
+
Translate(method: MethodInfo, source: EnumerableExpression, arguments: IReadOnlyList<SqlExpression>, logger: IDiagnosticsLogger<DbLoggerCategory$Query>): SqlExpression | undefined;
|
|
456
456
|
}
|
|
457
457
|
|
|
458
458
|
|
|
@@ -464,7 +464,7 @@ export const SqliteStringAggregateMethodTranslator: {
|
|
|
464
464
|
export type SqliteStringAggregateMethodTranslator = SqliteStringAggregateMethodTranslator$instance;
|
|
465
465
|
|
|
466
466
|
export interface SqliteStringLengthTranslator$instance {
|
|
467
|
-
|
|
467
|
+
Translate(instance: SqlExpression, member: MemberInfo, returnType: Type, logger: IDiagnosticsLogger<DbLoggerCategory$Query>): SqlExpression | undefined;
|
|
468
468
|
}
|
|
469
469
|
|
|
470
470
|
|
|
@@ -476,7 +476,7 @@ export const SqliteStringLengthTranslator: {
|
|
|
476
476
|
export type SqliteStringLengthTranslator = SqliteStringLengthTranslator$instance;
|
|
477
477
|
|
|
478
478
|
export interface SqliteStringMethodTranslator$instance {
|
|
479
|
-
|
|
479
|
+
Translate(instance: SqlExpression, method: MethodInfo, arguments: IReadOnlyList<SqlExpression>, logger: IDiagnosticsLogger<DbLoggerCategory$Query>): SqlExpression | undefined;
|
|
480
480
|
}
|
|
481
481
|
|
|
482
482
|
|
|
@@ -488,7 +488,7 @@ export const SqliteStringMethodTranslator: {
|
|
|
488
488
|
export type SqliteStringMethodTranslator = SqliteStringMethodTranslator$instance;
|
|
489
489
|
|
|
490
490
|
export interface SqliteSubstrMethodTranslator$instance {
|
|
491
|
-
|
|
491
|
+
Translate(instance: SqlExpression, method: MethodInfo, arguments: IReadOnlyList<SqlExpression>, logger: IDiagnosticsLogger<DbLoggerCategory$Query>): SqlExpression | undefined;
|
|
492
492
|
}
|
|
493
493
|
|
|
494
494
|
|
|
@@ -1,23 +1,36 @@
|
|
|
1
1
|
{
|
|
2
2
|
"namespace": "Microsoft.EntityFrameworkCore.Sqlite.Scaffolding.Internal",
|
|
3
|
+
"contributingAssemblies": [
|
|
4
|
+
"Microsoft.EntityFrameworkCore.Sqlite"
|
|
5
|
+
],
|
|
3
6
|
"types": [
|
|
4
7
|
{
|
|
5
8
|
"stableId": "Microsoft.EntityFrameworkCore.Sqlite:Microsoft.EntityFrameworkCore.Sqlite.Scaffolding.Internal.SqliteCodeGenerator",
|
|
6
9
|
"clrName": "Microsoft.EntityFrameworkCore.Sqlite.Scaffolding.Internal.SqliteCodeGenerator",
|
|
7
|
-
"tsEmitName": "SqliteCodeGenerator",
|
|
8
10
|
"assemblyName": "Microsoft.EntityFrameworkCore.Sqlite",
|
|
9
11
|
"metadataToken": 0,
|
|
12
|
+
"kind": "Class",
|
|
13
|
+
"accessibility": "Public",
|
|
14
|
+
"isAbstract": false,
|
|
15
|
+
"isSealed": false,
|
|
16
|
+
"isStatic": false,
|
|
17
|
+
"arity": 0,
|
|
10
18
|
"methods": [
|
|
11
19
|
{
|
|
12
20
|
"stableId": "Microsoft.EntityFrameworkCore.Sqlite:Microsoft.EntityFrameworkCore.Sqlite.Scaffolding.Internal.SqliteCodeGenerator::GenerateUseProvider(System.String,Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment):Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment",
|
|
13
21
|
"clrName": "GenerateUseProvider",
|
|
14
|
-
"tsEmitName": "generateUseProvider",
|
|
15
22
|
"metadataToken": 100663909,
|
|
16
23
|
"canonicalSignature": "(System.String,Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment):Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment",
|
|
17
24
|
"normalizedSignature": "GenerateUseProvider|(System.String,Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment):Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment|static=false",
|
|
18
25
|
"emitScope": "ClassSurface",
|
|
26
|
+
"provenance": "Original",
|
|
19
27
|
"arity": 0,
|
|
20
28
|
"parameterCount": 2,
|
|
29
|
+
"isStatic": false,
|
|
30
|
+
"isAbstract": false,
|
|
31
|
+
"isVirtual": true,
|
|
32
|
+
"isOverride": true,
|
|
33
|
+
"isSealed": false,
|
|
21
34
|
"declaringClrType": "Microsoft.EntityFrameworkCore.Sqlite.Scaffolding.Internal.SqliteCodeGenerator",
|
|
22
35
|
"declaringAssemblyName": "Microsoft.EntityFrameworkCore.Sqlite",
|
|
23
36
|
"isExtensionMethod": false
|
|
@@ -37,48 +50,35 @@
|
|
|
37
50
|
"declaringClrType": "Microsoft.EntityFrameworkCore.Sqlite.Scaffolding.Internal.SqliteCodeGenerator",
|
|
38
51
|
"declaringAssemblyName": "Microsoft.EntityFrameworkCore.Sqlite"
|
|
39
52
|
}
|
|
40
|
-
],
|
|
41
|
-
"exposedMethods": [
|
|
42
|
-
{
|
|
43
|
-
"tsName": "generateUseProvider",
|
|
44
|
-
"isStatic": false,
|
|
45
|
-
"tsSignatureId": "GenerateUseProvider|(System.String,Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment):Microsoft.EntityFrameworkCore.Design.MethodCallCodeFragment|static=false",
|
|
46
|
-
"target": {
|
|
47
|
-
"declaringClrType": "Microsoft.EntityFrameworkCore.Sqlite.Scaffolding.Internal.SqliteCodeGenerator",
|
|
48
|
-
"declaringAssemblyName": "Microsoft.EntityFrameworkCore.Sqlite",
|
|
49
|
-
"metadataToken": 100663909
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
],
|
|
53
|
-
"exposedConstructors": [
|
|
54
|
-
{
|
|
55
|
-
"isStatic": false,
|
|
56
|
-
"tsSignatureId": "constructor|(Microsoft.EntityFrameworkCore.Scaffolding.ProviderCodeGeneratorDependencies):void|static=false",
|
|
57
|
-
"target": {
|
|
58
|
-
"declaringClrType": "Microsoft.EntityFrameworkCore.Sqlite.Scaffolding.Internal.SqliteCodeGenerator",
|
|
59
|
-
"declaringAssemblyName": "Microsoft.EntityFrameworkCore.Sqlite",
|
|
60
|
-
"metadataToken": 100663908
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
53
|
]
|
|
64
54
|
},
|
|
65
55
|
{
|
|
66
56
|
"stableId": "Microsoft.EntityFrameworkCore.Sqlite:Microsoft.EntityFrameworkCore.Sqlite.Scaffolding.Internal.SqliteDatabaseModelFactory",
|
|
67
57
|
"clrName": "Microsoft.EntityFrameworkCore.Sqlite.Scaffolding.Internal.SqliteDatabaseModelFactory",
|
|
68
|
-
"tsEmitName": "SqliteDatabaseModelFactory",
|
|
69
58
|
"assemblyName": "Microsoft.EntityFrameworkCore.Sqlite",
|
|
70
59
|
"metadataToken": 0,
|
|
60
|
+
"kind": "Class",
|
|
61
|
+
"accessibility": "Public",
|
|
62
|
+
"isAbstract": false,
|
|
63
|
+
"isSealed": false,
|
|
64
|
+
"isStatic": false,
|
|
65
|
+
"arity": 0,
|
|
71
66
|
"methods": [
|
|
72
67
|
{
|
|
73
68
|
"stableId": "Microsoft.EntityFrameworkCore.Sqlite:Microsoft.EntityFrameworkCore.Sqlite.Scaffolding.Internal.SqliteDatabaseModelFactory::Create(System.String,Microsoft.EntityFrameworkCore.Scaffolding.DatabaseModelFactoryOptions):Microsoft.EntityFrameworkCore.Scaffolding.Metadata.DatabaseModel",
|
|
74
69
|
"clrName": "Create",
|
|
75
|
-
"tsEmitName": "create",
|
|
76
70
|
"metadataToken": 100663912,
|
|
77
71
|
"canonicalSignature": "(System.String,Microsoft.EntityFrameworkCore.Scaffolding.DatabaseModelFactoryOptions):Microsoft.EntityFrameworkCore.Scaffolding.Metadata.DatabaseModel",
|
|
78
72
|
"normalizedSignature": "Create|(System.String,Microsoft.EntityFrameworkCore.Scaffolding.DatabaseModelFactoryOptions):Microsoft.EntityFrameworkCore.Scaffolding.Metadata.DatabaseModel|static=false",
|
|
79
73
|
"emitScope": "ClassSurface",
|
|
74
|
+
"provenance": "Original",
|
|
80
75
|
"arity": 0,
|
|
81
76
|
"parameterCount": 2,
|
|
77
|
+
"isStatic": false,
|
|
78
|
+
"isAbstract": false,
|
|
79
|
+
"isVirtual": true,
|
|
80
|
+
"isOverride": true,
|
|
81
|
+
"isSealed": false,
|
|
82
82
|
"declaringClrType": "Microsoft.EntityFrameworkCore.Sqlite.Scaffolding.Internal.SqliteDatabaseModelFactory",
|
|
83
83
|
"declaringAssemblyName": "Microsoft.EntityFrameworkCore.Sqlite",
|
|
84
84
|
"isExtensionMethod": false
|
|
@@ -86,13 +86,18 @@
|
|
|
86
86
|
{
|
|
87
87
|
"stableId": "Microsoft.EntityFrameworkCore.Sqlite:Microsoft.EntityFrameworkCore.Sqlite.Scaffolding.Internal.SqliteDatabaseModelFactory::Create(System.Data.Common.DbConnection,Microsoft.EntityFrameworkCore.Scaffolding.DatabaseModelFactoryOptions):Microsoft.EntityFrameworkCore.Scaffolding.Metadata.DatabaseModel",
|
|
88
88
|
"clrName": "Create",
|
|
89
|
-
"tsEmitName": "create",
|
|
90
89
|
"metadataToken": 100663913,
|
|
91
90
|
"canonicalSignature": "(System.Data.Common.DbConnection,Microsoft.EntityFrameworkCore.Scaffolding.DatabaseModelFactoryOptions):Microsoft.EntityFrameworkCore.Scaffolding.Metadata.DatabaseModel",
|
|
92
91
|
"normalizedSignature": "Create|(System.Data.Common.DbConnection,Microsoft.EntityFrameworkCore.Scaffolding.DatabaseModelFactoryOptions):Microsoft.EntityFrameworkCore.Scaffolding.Metadata.DatabaseModel|static=false",
|
|
93
92
|
"emitScope": "ClassSurface",
|
|
93
|
+
"provenance": "Original",
|
|
94
94
|
"arity": 0,
|
|
95
95
|
"parameterCount": 2,
|
|
96
|
+
"isStatic": false,
|
|
97
|
+
"isAbstract": false,
|
|
98
|
+
"isVirtual": true,
|
|
99
|
+
"isOverride": true,
|
|
100
|
+
"isSealed": false,
|
|
96
101
|
"declaringClrType": "Microsoft.EntityFrameworkCore.Sqlite.Scaffolding.Internal.SqliteDatabaseModelFactory",
|
|
97
102
|
"declaringAssemblyName": "Microsoft.EntityFrameworkCore.Sqlite",
|
|
98
103
|
"isExtensionMethod": false
|
|
@@ -112,39 +117,6 @@
|
|
|
112
117
|
"declaringClrType": "Microsoft.EntityFrameworkCore.Sqlite.Scaffolding.Internal.SqliteDatabaseModelFactory",
|
|
113
118
|
"declaringAssemblyName": "Microsoft.EntityFrameworkCore.Sqlite"
|
|
114
119
|
}
|
|
115
|
-
],
|
|
116
|
-
"exposedMethods": [
|
|
117
|
-
{
|
|
118
|
-
"tsName": "create",
|
|
119
|
-
"isStatic": false,
|
|
120
|
-
"tsSignatureId": "Create|(System.String,Microsoft.EntityFrameworkCore.Scaffolding.DatabaseModelFactoryOptions):Microsoft.EntityFrameworkCore.Scaffolding.Metadata.DatabaseModel|static=false",
|
|
121
|
-
"target": {
|
|
122
|
-
"declaringClrType": "Microsoft.EntityFrameworkCore.Sqlite.Scaffolding.Internal.SqliteDatabaseModelFactory",
|
|
123
|
-
"declaringAssemblyName": "Microsoft.EntityFrameworkCore.Sqlite",
|
|
124
|
-
"metadataToken": 100663912
|
|
125
|
-
}
|
|
126
|
-
},
|
|
127
|
-
{
|
|
128
|
-
"tsName": "create",
|
|
129
|
-
"isStatic": false,
|
|
130
|
-
"tsSignatureId": "Create|(System.Data.Common.DbConnection,Microsoft.EntityFrameworkCore.Scaffolding.DatabaseModelFactoryOptions):Microsoft.EntityFrameworkCore.Scaffolding.Metadata.DatabaseModel|static=false",
|
|
131
|
-
"target": {
|
|
132
|
-
"declaringClrType": "Microsoft.EntityFrameworkCore.Sqlite.Scaffolding.Internal.SqliteDatabaseModelFactory",
|
|
133
|
-
"declaringAssemblyName": "Microsoft.EntityFrameworkCore.Sqlite",
|
|
134
|
-
"metadataToken": 100663913
|
|
135
|
-
}
|
|
136
|
-
}
|
|
137
|
-
],
|
|
138
|
-
"exposedConstructors": [
|
|
139
|
-
{
|
|
140
|
-
"isStatic": false,
|
|
141
|
-
"tsSignatureId": "constructor|(Microsoft.EntityFrameworkCore.Diagnostics.IDiagnosticsLogger_1[[Microsoft.EntityFrameworkCore.DbLoggerCategory\u002BScaffolding,Microsoft.EntityFrameworkCore,Version=10.0.1.0,Culture=neutral,PublicKeyToken=adb9793829ddae60]],Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMappingSource):void|static=false",
|
|
142
|
-
"target": {
|
|
143
|
-
"declaringClrType": "Microsoft.EntityFrameworkCore.Sqlite.Scaffolding.Internal.SqliteDatabaseModelFactory",
|
|
144
|
-
"declaringAssemblyName": "Microsoft.EntityFrameworkCore.Sqlite",
|
|
145
|
-
"metadataToken": 100663911
|
|
146
|
-
}
|
|
147
|
-
}
|
|
148
120
|
]
|
|
149
121
|
}
|
|
150
122
|
]
|
|
@@ -18,7 +18,7 @@ import type { DatabaseModel } from "@tsonic/efcore/Microsoft.EntityFrameworkCore
|
|
|
18
18
|
import type { IRelationalTypeMappingSource } from "@tsonic/efcore/Microsoft.EntityFrameworkCore.Storage.js";
|
|
19
19
|
|
|
20
20
|
export interface SqliteCodeGenerator$instance extends ProviderCodeGenerator {
|
|
21
|
-
|
|
21
|
+
GenerateUseProvider(connectionString: string, providerOptions: MethodCallCodeFragment): MethodCallCodeFragment;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
|
|
@@ -30,8 +30,8 @@ export const SqliteCodeGenerator: {
|
|
|
30
30
|
export type SqliteCodeGenerator = SqliteCodeGenerator$instance;
|
|
31
31
|
|
|
32
32
|
export interface SqliteDatabaseModelFactory$instance extends DatabaseModelFactory {
|
|
33
|
-
|
|
34
|
-
|
|
33
|
+
Create(connectionString: string, options: DatabaseModelFactoryOptions): DatabaseModel;
|
|
34
|
+
Create(connection: DbConnection, options: DatabaseModelFactoryOptions): DatabaseModel;
|
|
35
35
|
}
|
|
36
36
|
|
|
37
37
|
|