mirror of
https://github.com/nocodb/nocodb.git
synced 2026-02-01 22:08:33 +00:00
Merge pull request #12958 from nocodb/nc-fix/knex-client
refactor: KnexClient - cleanup
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -2487,6 +2487,12 @@ class MysqlClient extends KnexClient {
|
|||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
async sequenceCreate(_args: any = {}): Promise<any> {}
|
||||||
|
|
||||||
|
async sequenceUpdate(_args: any = {}): Promise<any> {}
|
||||||
|
|
||||||
|
async sequenceDelete(_args: any = {}): Promise<any> {}
|
||||||
|
|
||||||
alterTableRemoveColumn(n, _o, existingQuery) {
|
alterTableRemoveColumn(n, _o, existingQuery) {
|
||||||
let query = existingQuery ? ',' : '';
|
let query = existingQuery ? ',' : '';
|
||||||
query += this.genQuery(` DROP COLUMN ??`, [n.cn]);
|
query += this.genQuery(` DROP COLUMN ??`, [n.cn]);
|
||||||
|
|||||||
@@ -14,6 +14,16 @@ class OracleClient extends KnexClient {
|
|||||||
super(connectionConfig);
|
super(connectionConfig);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
async schemaCreateWithCredentials(_args): Promise<any> {}
|
||||||
|
|
||||||
|
async sequenceList(_args: any = {}): Promise<any> {}
|
||||||
|
|
||||||
|
async sequenceCreate(_args: any = {}): Promise<any> {}
|
||||||
|
|
||||||
|
async sequenceUpdate(_args: any = {}): Promise<any> {}
|
||||||
|
|
||||||
|
async sequenceDelete(_args: any = {}): Promise<any> {}
|
||||||
|
|
||||||
getKnexDataTypes() {
|
getKnexDataTypes() {
|
||||||
const result = new Result();
|
const result = new Result();
|
||||||
|
|
||||||
|
|||||||
@@ -25,6 +25,16 @@ class SqliteClient extends KnexClient {
|
|||||||
this._version = {};
|
this._version = {};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
async schemaCreateWithCredentials(_args): Promise<any> {}
|
||||||
|
|
||||||
|
async sequenceList(_args: any = {}): Promise<any> {}
|
||||||
|
|
||||||
|
async sequenceCreate(_args: any = {}): Promise<any> {}
|
||||||
|
|
||||||
|
async sequenceUpdate(_args: any = {}): Promise<any> {}
|
||||||
|
|
||||||
|
async sequenceDelete(_args: any = {}): Promise<any> {}
|
||||||
|
|
||||||
getKnexDataTypes() {
|
getKnexDataTypes() {
|
||||||
const result = new Result();
|
const result = new Result();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user