mirror of
https://github.com/dbgate/dbgate
synced 2024-11-07 20:26:23 +00:00
materialized views - passed test work CockroachDB #123
This commit is contained in:
parent
35fc2e0f5b
commit
433d3be8d5
@ -15,11 +15,11 @@ const obj1Match = expect.objectContaining({
|
||||
});
|
||||
const view1Match = expect.objectContaining({
|
||||
pureName: 'obj1',
|
||||
columns: [
|
||||
columns: expect.arrayContaining([
|
||||
expect.objectContaining({
|
||||
columnName: 'id',
|
||||
}),
|
||||
],
|
||||
]),
|
||||
});
|
||||
|
||||
describe('Object analyse', () => {
|
||||
|
@ -101,7 +101,7 @@ const engines = [
|
||||
port: 15003,
|
||||
},
|
||||
skipOnCI: true,
|
||||
objects: [views],
|
||||
objects: [views, matviews],
|
||||
},
|
||||
];
|
||||
|
||||
|
@ -41,6 +41,10 @@ const cockroachDriver = {
|
||||
engine: 'cockroach@dbgate-plugin-postgres',
|
||||
title: 'CockroachDB',
|
||||
defaultPort: 26257,
|
||||
dialect: {
|
||||
...dialect,
|
||||
materializedViews: true,
|
||||
},
|
||||
};
|
||||
|
||||
/** @type {import('dbgate-types').EngineDriver} */
|
||||
|
Loading…
Reference in New Issue
Block a user