@@ -3,7 +3,7 @@ declare type SqlValue =
3
3
| string
4
4
| number
5
5
| null
6
- | BigInt
6
+ | bigint
7
7
| Uint8Array
8
8
| Int8Array
9
9
| ArrayBuffer ;
@@ -1862,9 +1862,9 @@ declare class sqlite3_index_info extends SQLiteStruct {
1862
1862
needToFreeIdxStr : number ;
1863
1863
orderByConsumed : number ;
1864
1864
estimatedCost : number ;
1865
- estimatedRows : BigInt ;
1865
+ estimatedRows : bigint ;
1866
1866
idxFlags : number ;
1867
- colUsed : BigInt ;
1867
+ colUsed : bigint ;
1868
1868
sqlite3_index_constraint : sqlite3_index_constraint ;
1869
1869
sqlite3_index_orderby : sqlite3_index_orderby ;
1870
1870
sqlite3_index_constraint_usage : sqlite3_index_constraint_usage ;
@@ -2705,7 +2705,7 @@ declare type WASM_API = {
2705
2705
* Equivalent to peek(X,'i64'). Will throw if the environment is not
2706
2706
* configured with BigInt support.
2707
2707
*/
2708
- peek64 : ( addr : WasmPointer ) => BigInt ;
2708
+ peek64 : ( addr : WasmPointer ) => bigint ;
2709
2709
2710
2710
/** Equivalent to peek(X,'f32') */
2711
2711
peek32f : ( addr : WasmPointer ) => number ;
@@ -3520,7 +3520,7 @@ declare type CAPI = {
3520
3520
arg1 : number ,
3521
3521
arg2 : number ,
3522
3522
) : number ;
3523
- sqlite3_config ( op : CAPI [ 'SQLITE_CONFIG_MEMDB_MAXSIZE' ] , arg : BigInt ) : number ;
3523
+ sqlite3_config ( op : CAPI [ 'SQLITE_CONFIG_MEMDB_MAXSIZE' ] , arg : bigint ) : number ;
3524
3524
3525
3525
/**
3526
3526
* Used to make configuration changes to a database connection. The interface
@@ -3587,7 +3587,7 @@ declare type CAPI = {
3587
3587
*
3588
3588
* See https://www.sqlite.org/c3ref/last_insert_rowid.html
3589
3589
*/
3590
- sqlite3_last_insert_rowid : ( db : Database | WasmPointer ) => BigInt ;
3590
+ sqlite3_last_insert_rowid : ( db : Database | WasmPointer ) => bigint ;
3591
3591
3592
3592
/**
3593
3593
* Allows the application to set the value returned by calling
@@ -3602,7 +3602,7 @@ declare type CAPI = {
3602
3602
*/
3603
3603
sqlite3_set_last_insert_rowid : (
3604
3604
db : Database | WasmPointer ,
3605
- rowid : BigInt ,
3605
+ rowid : bigint ,
3606
3606
) => void ;
3607
3607
3608
3608
/**
@@ -3633,7 +3633,7 @@ declare type CAPI = {
3633
3633
*
3634
3634
* See https://www.sqlite.org/c3ref/changes.html
3635
3635
*/
3636
- sqlite3_changes64 : ( db : Database | WasmPointer ) => BigInt ;
3636
+ sqlite3_changes64 : ( db : Database | WasmPointer ) => bigint ;
3637
3637
3638
3638
/**
3639
3639
* Return the total number of rows inserted, modified or deleted by all
@@ -3665,7 +3665,7 @@ declare type CAPI = {
3665
3665
*
3666
3666
* See https://www.sqlite.org/c3ref/total_changes.html
3667
3667
*/
3668
- sqlite3_total_changes64 : ( db : Database | WasmPointer ) => BigInt ;
3668
+ sqlite3_total_changes64 : ( db : Database | WasmPointer ) => bigint ;
3669
3669
3670
3670
/**
3671
3671
* Useful during command-line input to determine if the currently entered text
@@ -3745,7 +3745,7 @@ declare type CAPI = {
3745
3745
*
3746
3746
* See https://www.sqlite.org/c3ref/free.html
3747
3747
*/
3748
- sqlite3_malloc64 : ( numBytes : BigInt ) => WasmPointer ;
3748
+ sqlite3_malloc64 : ( numBytes : bigint ) => WasmPointer ;
3749
3749
3750
3750
/**
3751
3751
* Attempts to resize a prior memory allocation X to be at least N bytes.
@@ -3785,7 +3785,7 @@ declare type CAPI = {
3785
3785
*
3786
3786
* See https://www.sqlite.org/c3ref/free.html
3787
3787
*/
3788
- sqlite3_realloc64 : ( ptr : WasmPointer , numBytes : BigInt ) => WasmPointer ;
3788
+ sqlite3_realloc64 : ( ptr : WasmPointer , numBytes : bigint ) => WasmPointer ;
3789
3789
3790
3790
/**
3791
3791
* Calling `sqlite3_free()` with a pointer previously returned by
@@ -3820,7 +3820,7 @@ declare type CAPI = {
3820
3820
*
3821
3821
* See https://www.sqlite.org/c3ref/free.html
3822
3822
*/
3823
- sqlite3_msize : ( ptr : WasmPointer ) => BigInt ;
3823
+ sqlite3_msize : ( ptr : WasmPointer ) => bigint ;
3824
3824
3825
3825
/**
3826
3826
* Pseudo-Random Number Generator
@@ -4006,8 +4006,8 @@ declare type CAPI = {
4006
4006
sqlite3_uri_int64 : (
4007
4007
uri : string | WasmPointer ,
4008
4008
paramName : string | WasmPointer ,
4009
- defaultVal : BigInt ,
4010
- ) => BigInt ;
4009
+ defaultVal : bigint ,
4010
+ ) => bigint ;
4011
4011
4012
4012
/**
4013
4013
* Returns a pointer to the name (not the value) of the `idx`-th query
@@ -4314,7 +4314,7 @@ declare type CAPI = {
4314
4314
*
4315
4315
* See https://www.sqlite.org/c3ref/bind_blob.html
4316
4316
*/
4317
- sqlite3_bind_int64 : ( stmt : WasmPointer , idx : number , value : BigInt ) => number ;
4317
+ sqlite3_bind_int64 : ( stmt : WasmPointer , idx : number , value : bigint ) => number ;
4318
4318
4319
4319
/**
4320
4320
* Bind a `NULL` value to a parameter in a prepared statement.
@@ -4568,7 +4568,7 @@ declare type CAPI = {
4568
4568
*
4569
4569
* See https://www.sqlite.org/c3ref/column_blob.html
4570
4570
*/
4571
- sqlite3_column_int64 : ( db : Database | WasmPointer , colIdx : number ) => BigInt ;
4571
+ sqlite3_column_int64 : ( db : Database | WasmPointer , colIdx : number ) => bigint ;
4572
4572
4573
4573
/**
4574
4574
* Get a TEXT result value from a column in the current result row.
@@ -4804,7 +4804,7 @@ declare type CAPI = {
4804
4804
*
4805
4805
* See https://www.sqlite.org/c3ref/value_blob.html
4806
4806
*/
4807
- sqlite3_value_int64 : ( sqliteValue : WasmPointer ) => BigInt ;
4807
+ sqlite3_value_int64 : ( sqliteValue : WasmPointer ) => bigint ;
4808
4808
4809
4809
/**
4810
4810
* Extract a pointer value from a protected `sqlite3_value` object. If the
@@ -5162,7 +5162,7 @@ declare type CAPI = {
5162
5162
*
5163
5163
* See https://www.sqlite.org/c3ref/result_blob.html
5164
5164
*/
5165
- sqlite3_result_int64 : ( ctx : WasmPointer , value : BigInt ) => void ;
5165
+ sqlite3_result_int64 : ( ctx : WasmPointer , value : bigint ) => void ;
5166
5166
5167
5167
/**
5168
5168
* Sets the return value of the application-defined function to be `NULL`.
@@ -5244,7 +5244,7 @@ declare type CAPI = {
5244
5244
*
5245
5245
* See https://www.sqlite.org/c3ref/result_blob.html
5246
5246
*/
5247
- sqlite3_result_zeroblob64 : ( ctx : WasmPointer , blobLen : BigInt ) => void ;
5247
+ sqlite3_result_zeroblob64 : ( ctx : WasmPointer , blobLen : bigint ) => void ;
5248
5248
5249
5249
/**
5250
5250
* Causes the subtype of the result from the application-defined SQL function
@@ -5289,7 +5289,7 @@ declare type CAPI = {
5289
5289
| null
5290
5290
| boolean
5291
5291
| number
5292
- | BigInt
5292
+ | bigint
5293
5293
| string
5294
5294
| Uint8Array
5295
5295
| Int8Array
@@ -5505,7 +5505,7 @@ declare type CAPI = {
5505
5505
op : CAPI [ 'SQLITE_UPDATE' ] | CAPI [ 'SQLITE_DELETE' ] | CAPI [ 'SQLITE_INSERT' ] ,
5506
5506
dbName : string ,
5507
5507
tableName : string ,
5508
- newRowId : BigInt ,
5508
+ newRowId : bigint ,
5509
5509
) => void ,
5510
5510
userCtx : WasmPointer ,
5511
5511
) => WasmPointer ;
@@ -6257,8 +6257,8 @@ declare type CAPI = {
6257
6257
op : CAPI [ 'SQLITE_UPDATE' ] | CAPI [ 'SQLITE_DELETE' ] | CAPI [ 'SQLITE_INSERT' ] ,
6258
6258
dbName : string ,
6259
6259
tableName : string ,
6260
- oldRowid : BigInt ,
6261
- newRowid : BigInt ,
6260
+ oldRowid : bigint ,
6261
+ newRowid : bigint ,
6262
6262
) => void ,
6263
6263
) => void ;
6264
6264
0 commit comments