ueberdb2 4.1.28 → 4.1.30
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/index.d.ts +1 -85
- package/dist/index.js +538 -1
- package/package.json +2 -2
- package/dist/cassandra_db.d.ts +0 -1
- package/dist/couch_db.d.ts +0 -1
- package/dist/databases/cassandra_db.js +0 -1
- package/dist/databases/couch_db.js +0 -1
- package/dist/databases/dirty_db.js +0 -1
- package/dist/databases/dirty_git_db.js +0 -1
- package/dist/databases/elasticsearch_db.js +0 -1
- package/dist/databases/memory_db.js +0 -1
- package/dist/databases/mock_db.js +0 -1
- package/dist/databases/mongodb_db.js +0 -1
- package/dist/databases/mssql_db.js +0 -5
- package/dist/databases/mysql_db.js +0 -1
- package/dist/databases/postgres_db.js +0 -1
- package/dist/databases/postgrespool_db.js +0 -1
- package/dist/databases/redis_db.js +0 -1
- package/dist/databases/rethink_db.js +0 -1
- package/dist/databases/sqlite_db.js +0 -4
- package/dist/dirty_db.d.ts +0 -1
- package/dist/dirty_git_db.d.ts +0 -1
- package/dist/elasticsearch_db.d.ts +0 -1
- package/dist/lib/AbstractDatabase.js +0 -1
- package/dist/lib/CacheAndBufferLayer.js +0 -1
- package/dist/lib/logging.js +0 -1
- package/dist/memory_db.d.ts +0 -1
- package/dist/mock_db.d.ts +0 -1
- package/dist/mongodb_db.d.ts +0 -1
- package/dist/mssql_db.d.ts +0 -1
- package/dist/mysql_db.d.ts +0 -1
- package/dist/postgres_db.d.ts +0 -1
- package/dist/postgrespool_db.d.ts +0 -1
- package/dist/redis_db.d.ts +0 -1
- package/dist/rethink_db.d.ts +0 -1
- package/dist/sqlite_db.d.ts +0 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,85 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const Database: {
|
|
3
|
-
new (type: undefined | string, dbSettings: Settings | null | string, wrapperSettings?: null | {}, logger?: any): {
|
|
4
|
-
readonly type: any;
|
|
5
|
-
dbModule: any;
|
|
6
|
-
readonly dbSettings: any;
|
|
7
|
-
readonly wrapperSettings: any | {};
|
|
8
|
-
readonly logger: Function | null;
|
|
9
|
-
db: any;
|
|
10
|
-
metrics: any;
|
|
11
|
-
/**
|
|
12
|
-
* @param callback - Deprecated. Node-style callback. If null, a Promise is returned.
|
|
13
|
-
*/
|
|
14
|
-
init(callback?: null): Promise<any>;
|
|
15
|
-
/**
|
|
16
|
-
* Wrapper functions
|
|
17
|
-
*/
|
|
18
|
-
/**
|
|
19
|
-
* Deprecated synonym of flush().
|
|
20
|
-
*
|
|
21
|
-
* @param callback - Deprecated. Node-style callback. If null, a Promise is returned.
|
|
22
|
-
*/
|
|
23
|
-
doShutdown(callback?: null): any;
|
|
24
|
-
/**
|
|
25
|
-
* Writes any unsaved changes to the underlying database.
|
|
26
|
-
*
|
|
27
|
-
* @param callback - Deprecated. Node-style callback. If null, a Promise is returned.
|
|
28
|
-
*/
|
|
29
|
-
flush(callback?: null): any;
|
|
30
|
-
/**
|
|
31
|
-
* @param key
|
|
32
|
-
* @param callback - Deprecated. Node-style callback. If null, a Promise is returned.
|
|
33
|
-
*/
|
|
34
|
-
get(key: string, callback?: null): any;
|
|
35
|
-
/**
|
|
36
|
-
* @param key
|
|
37
|
-
* @param notKey
|
|
38
|
-
* @param callback - Deprecated. Node-style callback. If null, a Promise is returned.
|
|
39
|
-
*/
|
|
40
|
-
findKeys(key: string, notKey: string, callback?: null): any;
|
|
41
|
-
/**
|
|
42
|
-
* Removes an entry from the database if present.
|
|
43
|
-
*
|
|
44
|
-
* @param key
|
|
45
|
-
* @param cb Deprecated. Node-style callback. Called when the write has been committed to the
|
|
46
|
-
* underlying database driver. If null, a Promise is returned.
|
|
47
|
-
* @param deprecated Deprecated callback that is called just after cb. Ignored if cb is null.
|
|
48
|
-
*/
|
|
49
|
-
remove(key: string, cb?: null, deprecated?: null): any;
|
|
50
|
-
/**
|
|
51
|
-
* Adds or changes the value of an entry.
|
|
52
|
-
*
|
|
53
|
-
* @param key
|
|
54
|
-
* @param value
|
|
55
|
-
* @param cb Deprecated. Node-style callback. Called when the write has been committed to the
|
|
56
|
-
* underlying database driver. If null, a Promise is returned.
|
|
57
|
-
* @param deprecated Deprecated callback that is called just after cb. Ignored if cb is null.
|
|
58
|
-
*/
|
|
59
|
-
set(key: string, value: string, cb?: null, deprecated?: null): any;
|
|
60
|
-
/**
|
|
61
|
-
* @param key
|
|
62
|
-
* @param sub
|
|
63
|
-
* @param callback - Deprecated. Node-style callback. If null, a Promise is returned.
|
|
64
|
-
*/
|
|
65
|
-
getSub(key: string, sub: string, callback?: null): any;
|
|
66
|
-
/**
|
|
67
|
-
* Adds or changes a subvalue of an entry.
|
|
68
|
-
*
|
|
69
|
-
* @param key
|
|
70
|
-
* @param sub
|
|
71
|
-
* @param value
|
|
72
|
-
* @param cb Deprecated. Node-style callback. Called when the write has been committed to the
|
|
73
|
-
* underlying database driver. If null, a Promise is returned.
|
|
74
|
-
* @param deprecated Deprecated callback that is called just after cb. Ignored if cb is null.
|
|
75
|
-
*/
|
|
76
|
-
setSub(key: string, sub: string, value: string, cb?: null, deprecated?: null): any;
|
|
77
|
-
/**
|
|
78
|
-
* Flushes unwritten changes then closes the connection to the underlying database. After this
|
|
79
|
-
* returns, any future call to a method on this object may result in an error.
|
|
80
|
-
*
|
|
81
|
-
* @param callback - Deprecated. Node-style callback. If null, a Promise is returned.
|
|
82
|
-
*/
|
|
83
|
-
close(callback?: null): any;
|
|
84
|
-
};
|
|
85
|
-
};
|
|
1
|
+
export * from './index'
|