fix(informix): 支持表格直接编辑
This commit is contained in:
1 parent
ce69af1de0
commit
05effc8edf
9 files changed
+89
-26
No files matched your search
@@ -39,6 +39,7 @@ test("does not synthesize ROWID for non-Oracle keyless tables", () => {
|
||||
test("allows Hive table data editing even without declared primary keys", () => {
|
||||
assert.equal(isTableDataEditable("hive", []), true);
|
||||
assert.equal(isTableDataEditable("trino", []), true);
|
||||
assert.equal(isTableDataEditable("informix", []), true);
|
||||
assert.equal(isTableDataEditable("mysql", []), false);
|
||||
assert.equal(isTableDataEditable("postgres", ["id"]), true);
|
||||
});
|
||||
@@ -55,6 +56,8 @@ test("allows existing row edits for Hive only when the table is transactional",
|
||||
assert.equal(canEditExistingTableRows("hive", undefined), false);
|
||||
assert.equal(canEditExistingTableRows("trino", undefined, []), false);
|
||||
assert.equal(canEditExistingTableRows("trino", undefined, ["id"]), true);
|
||||
assert.equal(canEditExistingTableRows("informix", undefined, []), false);
|
||||
assert.equal(canEditExistingTableRows("informix", undefined, ["id"]), true);
|
||||
assert.equal(canEditExistingTableRows("postgres", undefined), true);
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user