ueberdb2 4.2.103 → 5.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.
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import AbstractDatabase from "../lib/AbstractDatabase";
|
|
2
|
-
import { KeyValueDB } from 'rusty-store-kv';
|
|
3
2
|
export default class Rusty_db extends AbstractDatabase {
|
|
4
|
-
db:
|
|
3
|
+
db: any | null | undefined;
|
|
5
4
|
constructor(settings: {
|
|
6
5
|
filename: string;
|
|
7
6
|
});
|
|
8
7
|
get isAsync(): boolean;
|
|
9
|
-
findKeys(key: string, notKey?: string):
|
|
8
|
+
findKeys(key: string, notKey?: string): any;
|
|
10
9
|
get(key: string): any;
|
|
11
10
|
init(): Promise<void>;
|
|
12
11
|
close(): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rusty_db.d.ts","sourceRoot":"","sources":["../../databases/rusty_db.ts"],"names":[],"mappings":"AAAA,OAAO,gBAAgB,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"rusty_db.d.ts","sourceRoot":"","sources":["../../databases/rusty_db.ts"],"names":[],"mappings":"AAAA,OAAO,gBAAgB,MAAM,yBAAyB,CAAC;AAGvD,MAAM,CAAC,OAAO,OAAO,QAAS,SAAQ,gBAAgB;IAClD,EAAE,EAAE,GAAG,GAAE,IAAI,GAAE,SAAS,CAAA;gBAEZ,QAAQ,EAAE;QAAC,QAAQ,EAAE,MAAM,CAAA;KAAC;IASxC,IAAI,OAAO,YAEV;IAED,QAAQ,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,CAAC,EAAC,MAAM;IAIpC,GAAG,CAAC,GAAG,EAAE,MAAM;IAYT,IAAI;IAKV,KAAK;IAKL,MAAM,CAAC,GAAG,EAAE,MAAM;IAIlB,GAAG,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM;IAS9B,OAAO;CAGV"}
|
|
@@ -1,8 +1,22 @@
|
|
|
1
1
|
import { BulkObject } from "./cassandra_db";
|
|
2
2
|
import AbstractDatabase, { Settings } from "../lib/AbstractDatabase";
|
|
3
|
-
|
|
3
|
+
/**
|
|
4
|
+
* 2011 Peter 'Pita' Martischka
|
|
5
|
+
*
|
|
6
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
7
|
+
* you may not use this file except in compliance with the License.
|
|
8
|
+
* You may obtain a copy of the License at
|
|
9
|
+
*
|
|
10
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
*
|
|
12
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
13
|
+
* distributed under the License is distributed on an "AS-IS" BASIS,
|
|
14
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
15
|
+
* See the License for the specific language governing permissions and
|
|
16
|
+
* limitations under the License.
|
|
17
|
+
*/
|
|
4
18
|
export default class SQLiteDB extends AbstractDatabase {
|
|
5
|
-
db:
|
|
19
|
+
db: any | null;
|
|
6
20
|
constructor(settings: Settings);
|
|
7
21
|
init(callback: Function): void;
|
|
8
22
|
get(key: string, callback: Function): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sqlite_db.d.ts","sourceRoot":"","sources":["../../databases/sqlite_db.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,UAAU,EAAC,MAAM,gBAAgB,CAAC;AAC1C,OAAO,gBAAgB,EAAE,EAAC,QAAQ,EAAC,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"sqlite_db.d.ts","sourceRoot":"","sources":["../../databases/sqlite_db.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,UAAU,EAAC,MAAM,gBAAgB,CAAC;AAC1C,OAAO,gBAAgB,EAAE,EAAC,QAAQ,EAAC,MAAM,yBAAyB,CAAC;AAGnE;;;;;;;;;;;;;;GAcG;AAEH,MAAM,CAAC,OAAO,OAAO,QAAS,SAAQ,gBAAgB;IAC7C,EAAE,EAAE,GAAG,GAAC,IAAI,CAAC;gBACR,QAAQ,EAAC,QAAQ;IAsB7B,IAAI,CAAC,QAAQ,EAAE,QAAQ;IAMvB,GAAG,CAAC,GAAG,EAAC,MAAM,EAAE,QAAQ,EAAC,QAAQ;IAKjC,QAAQ,CAAC,GAAG,EAAC,MAAM,EAAE,MAAM,EAAC,MAAM,EAAE,QAAQ,EAAC,QAAQ;IAMrD,GAAG,CAAC,GAAG,EAAC,MAAM,EAAE,KAAK,EAAC,MAAM,EAAE,QAAQ,EAAC,QAAQ;IAK/C,MAAM,CAAC,GAAG,EAAC,MAAM,EAAE,QAAQ,EAAC,QAAQ;IAMpC,MAAM,CAAC,IAAI,EAAC,UAAU,EAAE,EAAE,QAAQ,EAAC,QAAQ;IAgB3C,KAAK,CAAC,QAAQ,EAAE,QAAQ;CAIzB"}
|
package/dist/index.js
CHANGED
|
@@ -326132,7 +326132,22 @@ class Rethink_db extends AbstractDatabase {
|
|
|
326132
326132
|
this.connection.close(callback);
|
|
326133
326133
|
}
|
|
326134
326134
|
}
|
|
326135
|
-
}
|
|
326135
|
+
}/**
|
|
326136
|
+
* 2011 Peter 'Pita' Martischka
|
|
326137
|
+
*
|
|
326138
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
326139
|
+
* you may not use this file except in compliance with the License.
|
|
326140
|
+
* You may obtain a copy of the License at
|
|
326141
|
+
*
|
|
326142
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
326143
|
+
*
|
|
326144
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
326145
|
+
* distributed under the License is distributed on an "AS-IS" BASIS,
|
|
326146
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
326147
|
+
* See the License for the specific language governing permissions and
|
|
326148
|
+
* limitations under the License.
|
|
326149
|
+
*/
|
|
326150
|
+
class SQLiteDB extends AbstractDatabase {
|
|
326136
326151
|
db;
|
|
326137
326152
|
constructor(settings) {
|
|
326138
326153
|
super(settings);
|