alasql 4.2.5 → 4.2.7
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/dist/alasql-worker.js +4 -4
- package/dist/alasql.d.ts +17 -0
- package/dist/alasql.fs.js +408 -444
- package/dist/alasql.js +408 -444
- package/dist/alasql.min.js +33 -22
- package/package.json +10 -8
- package/types/alasql.d.ts +17 -0
package/dist/alasql-worker.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
//! AlaSQL v4.2.
|
|
1
|
+
//! AlaSQL v4.2.6 build: develop-6db74fcc | © 2014-2024 Andrey Gershun & Mathias Wulff | License: MIT
|
|
2
2
|
/*
|
|
3
3
|
@module alasql
|
|
4
|
-
@version 4.2.
|
|
4
|
+
@version 4.2.6
|
|
5
5
|
|
|
6
6
|
AlaSQL - JavaScript SQL database
|
|
7
|
-
© 2014-
|
|
7
|
+
© 2014-2024 Andrey Gershun & Mathias Wulff
|
|
8
8
|
|
|
9
9
|
@license
|
|
10
10
|
The MIT License (MIT)
|
|
11
11
|
|
|
12
|
-
Copyright 2014-
|
|
12
|
+
Copyright 2014-2024 Andrey Gershun (agershun@gmail.com) & Mathias Wulff (m@rawu.dk)
|
|
13
13
|
|
|
14
14
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
15
15
|
of this software and associated documentation files (the "Software"), to deal
|
package/dist/alasql.d.ts
CHANGED
|
@@ -138,6 +138,22 @@ declare module 'alasql' {
|
|
|
138
138
|
[tableName: string]: table;
|
|
139
139
|
}
|
|
140
140
|
|
|
141
|
+
interface Database {
|
|
142
|
+
databaseid: string;
|
|
143
|
+
dbversion: number;
|
|
144
|
+
tables: {[key: string]: any};
|
|
145
|
+
views: {[key: string]: any};
|
|
146
|
+
triggers: {[key: string]: any};
|
|
147
|
+
indices: {[key: string]: any};
|
|
148
|
+
objects: {[key: string]: any};
|
|
149
|
+
counter: number;
|
|
150
|
+
sqlCache: {[key: string]: any};
|
|
151
|
+
sqlCacheSize: number;
|
|
152
|
+
astCache: {[key: string]: any};
|
|
153
|
+
resetSqlCache: () => void;
|
|
154
|
+
exec: (sql: string, params?: object, cb?: Function) => any;
|
|
155
|
+
autoval: (tablename: string, colname: string, getNext: boolean) => any;
|
|
156
|
+
}
|
|
141
157
|
interface AlaSQL {
|
|
142
158
|
options: AlaSQLOptions;
|
|
143
159
|
error: Error;
|
|
@@ -150,6 +166,7 @@ declare module 'alasql' {
|
|
|
150
166
|
autoval(tablename: string, colname: string, getNext?: boolean): number;
|
|
151
167
|
yy: {};
|
|
152
168
|
setXLSX(xlsxlib: typeof xlsx): void;
|
|
169
|
+
Database: Database;
|
|
153
170
|
|
|
154
171
|
/**
|
|
155
172
|
* Array of databases in the AlaSQL object.
|