@@ -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 ;
@@ -1870,9 +1870,9 @@ declare class sqlite3_index_info extends SQLiteStruct {
1870
1870
needToFreeIdxStr : number ;
1871
1871
orderByConsumed : number ;
1872
1872
estimatedCost : number ;
1873
- estimatedRows : BigInt ;
1873
+ estimatedRows : bigint ;
1874
1874
idxFlags : number ;
1875
- colUsed : BigInt ;
1875
+ colUsed : bigint ;
1876
1876
sqlite3_index_constraint : sqlite3_index_constraint ;
1877
1877
sqlite3_index_orderby : sqlite3_index_orderby ;
1878
1878
sqlite3_index_constraint_usage : sqlite3_index_constraint_usage ;
@@ -2713,7 +2713,7 @@ declare type WASM_API = {
2713
2713
* Equivalent to peek(X,'i64'). Will throw if the environment is not
2714
2714
* configured with BigInt support.
2715
2715
*/
2716
- peek64 : ( addr : WasmPointer ) => BigInt ;
2716
+ peek64 : ( addr : WasmPointer ) => bigint ;
2717
2717
2718
2718
/** Equivalent to peek(X,'f32') */
2719
2719
peek32f : ( addr : WasmPointer ) => number ;
@@ -3528,7 +3528,7 @@ declare type CAPI = {
3528
3528
arg1 : number ,
3529
3529
arg2 : number ,
3530
3530
) : number ;
3531
- sqlite3_config ( op : CAPI [ 'SQLITE_CONFIG_MEMDB_MAXSIZE' ] , arg : BigInt ) : number ;
3531
+ sqlite3_config ( op : CAPI [ 'SQLITE_CONFIG_MEMDB_MAXSIZE' ] , arg : bigint ) : number ;
3532
3532
3533
3533
/**
3534
3534
* Used to make configuration changes to a database connection. The interface
@@ -3595,7 +3595,7 @@ declare type CAPI = {
3595
3595
*
3596
3596
* See https://www.sqlite.org/c3ref/last_insert_rowid.html
3597
3597
*/
3598
- sqlite3_last_insert_rowid : ( db : Database | WasmPointer ) => BigInt ;
3598
+ sqlite3_last_insert_rowid : ( db : Database | WasmPointer ) => bigint ;
3599
3599
3600
3600
/**
3601
3601
* Allows the application to set the value returned by calling
@@ -3610,7 +3610,7 @@ declare type CAPI = {
3610
3610
*/
3611
3611
sqlite3_set_last_insert_rowid : (
3612
3612
db : Database | WasmPointer ,
3613
- rowid : BigInt ,
3613
+ rowid : bigint ,
3614
3614
) => void ;
3615
3615
3616
3616
/**
@@ -3641,7 +3641,7 @@ declare type CAPI = {
3641
3641
*
3642
3642
* See https://www.sqlite.org/c3ref/changes.html
3643
3643
*/
3644
- sqlite3_changes64 : ( db : Database | WasmPointer ) => BigInt ;
3644
+ sqlite3_changes64 : ( db : Database | WasmPointer ) => bigint ;
3645
3645
3646
3646
/**
3647
3647
* Return the total number of rows inserted, modified or deleted by all
@@ -3673,7 +3673,7 @@ declare type CAPI = {
3673
3673
*
3674
3674
* See https://www.sqlite.org/c3ref/total_changes.html
3675
3675
*/
3676
- sqlite3_total_changes64 : ( db : Database | WasmPointer ) => BigInt ;
3676
+ sqlite3_total_changes64 : ( db : Database | WasmPointer ) => bigint ;
3677
3677
3678
3678
/**
3679
3679
* Useful during command-line input to determine if the currently entered text
@@ -3753,7 +3753,7 @@ declare type CAPI = {
3753
3753
*
3754
3754
* See https://www.sqlite.org/c3ref/free.html
3755
3755
*/
3756
- sqlite3_malloc64 : ( numBytes : BigInt ) => WasmPointer ;
3756
+ sqlite3_malloc64 : ( numBytes : bigint ) => WasmPointer ;
3757
3757
3758
3758
/**
3759
3759
* Attempts to resize a prior memory allocation X to be at least N bytes.
@@ -3793,7 +3793,7 @@ declare type CAPI = {
3793
3793
*
3794
3794
* See https://www.sqlite.org/c3ref/free.html
3795
3795
*/
3796
- sqlite3_realloc64 : ( ptr : WasmPointer , numBytes : BigInt ) => WasmPointer ;
3796
+ sqlite3_realloc64 : ( ptr : WasmPointer , numBytes : bigint ) => WasmPointer ;
3797
3797
3798
3798
/**
3799
3799
* Calling `sqlite3_free()` with a pointer previously returned by
@@ -3828,7 +3828,7 @@ declare type CAPI = {
3828
3828
*
3829
3829
* See https://www.sqlite.org/c3ref/free.html
3830
3830
*/
3831
- sqlite3_msize : ( ptr : WasmPointer ) => BigInt ;
3831
+ sqlite3_msize : ( ptr : WasmPointer ) => bigint ;
3832
3832
3833
3833
/**
3834
3834
* Pseudo-Random Number Generator
@@ -4014,8 +4014,8 @@ declare type CAPI = {
4014
4014
sqlite3_uri_int64 : (
4015
4015
uri : string | WasmPointer ,
4016
4016
paramName : string | WasmPointer ,
4017
- defaultVal : BigInt ,
4018
- ) => BigInt ;
4017
+ defaultVal : bigint ,
4018
+ ) => bigint ;
4019
4019
4020
4020
/**
4021
4021
* Returns a pointer to the name (not the value) of the `idx`-th query
@@ -4322,7 +4322,7 @@ declare type CAPI = {
4322
4322
*
4323
4323
* See https://www.sqlite.org/c3ref/bind_blob.html
4324
4324
*/
4325
- sqlite3_bind_int64 : ( stmt : WasmPointer , idx : number , value : BigInt ) => number ;
4325
+ sqlite3_bind_int64 : ( stmt : WasmPointer , idx : number , value : bigint ) => number ;
4326
4326
4327
4327
/**
4328
4328
* Bind a `NULL` value to a parameter in a prepared statement.
@@ -4576,7 +4576,7 @@ declare type CAPI = {
4576
4576
*
4577
4577
* See https://www.sqlite.org/c3ref/column_blob.html
4578
4578
*/
4579
- sqlite3_column_int64 : ( db : Database | WasmPointer , colIdx : number ) => BigInt ;
4579
+ sqlite3_column_int64 : ( db : Database | WasmPointer , colIdx : number ) => bigint ;
4580
4580
4581
4581
/**
4582
4582
* Get a TEXT result value from a column in the current result row.
@@ -4812,7 +4812,7 @@ declare type CAPI = {
4812
4812
*
4813
4813
* See https://www.sqlite.org/c3ref/value_blob.html
4814
4814
*/
4815
- sqlite3_value_int64 : ( sqliteValue : WasmPointer ) => BigInt ;
4815
+ sqlite3_value_int64 : ( sqliteValue : WasmPointer ) => bigint ;
4816
4816
4817
4817
/**
4818
4818
* Extract a pointer value from a protected `sqlite3_value` object. If the
@@ -5170,7 +5170,7 @@ declare type CAPI = {
5170
5170
*
5171
5171
* See https://www.sqlite.org/c3ref/result_blob.html
5172
5172
*/
5173
- sqlite3_result_int64 : ( ctx : WasmPointer , value : BigInt ) => void ;
5173
+ sqlite3_result_int64 : ( ctx : WasmPointer , value : bigint ) => void ;
5174
5174
5175
5175
/**
5176
5176
* Sets the return value of the application-defined function to be `NULL`.
@@ -5252,7 +5252,7 @@ declare type CAPI = {
5252
5252
*
5253
5253
* See https://www.sqlite.org/c3ref/result_blob.html
5254
5254
*/
5255
- sqlite3_result_zeroblob64 : ( ctx : WasmPointer , blobLen : BigInt ) => void ;
5255
+ sqlite3_result_zeroblob64 : ( ctx : WasmPointer , blobLen : bigint ) => void ;
5256
5256
5257
5257
/**
5258
5258
* Causes the subtype of the result from the application-defined SQL function
@@ -5297,7 +5297,7 @@ declare type CAPI = {
5297
5297
| null
5298
5298
| boolean
5299
5299
| number
5300
- | BigInt
5300
+ | bigint
5301
5301
| string
5302
5302
| Uint8Array
5303
5303
| Int8Array
@@ -5513,7 +5513,7 @@ declare type CAPI = {
5513
5513
op : CAPI [ 'SQLITE_UPDATE' ] | CAPI [ 'SQLITE_DELETE' ] | CAPI [ 'SQLITE_INSERT' ] ,
5514
5514
dbName : string ,
5515
5515
tableName : string ,
5516
- newRowId : BigInt ,
5516
+ newRowId : bigint ,
5517
5517
) => void ,
5518
5518
userCtx : WasmPointer ,
5519
5519
) => WasmPointer ;
@@ -6265,8 +6265,8 @@ declare type CAPI = {
6265
6265
op : CAPI [ 'SQLITE_UPDATE' ] | CAPI [ 'SQLITE_DELETE' ] | CAPI [ 'SQLITE_INSERT' ] ,
6266
6266
dbName : string ,
6267
6267
tableName : string ,
6268
- oldRowid : BigInt ,
6269
- newRowid : BigInt ,
6268
+ oldRowid : bigint ,
6269
+ newRowid : bigint ,
6270
6270
) => void ,
6271
6271
) => void ;
6272
6272
0 commit comments