There was an error while loading. Please reload this page.
1 parent 95992c9 commit f0a16c3Copy full SHA for f0a16c3
test/lib/tables.ts
@@ -17,6 +17,12 @@ const cleanNondet = (x: any) => {
17
}
18
19
20
+test('list schemas', async () => {
21
+ const res = await pgMeta.tables.list({ schemas: ['private'] })
22
+ const data = res.data?.find(({ name }) => name === 'users')
23
+ expect(data).toBeUndefined()
24
+})
25
+
26
test('list', async () => {
27
const res = await pgMeta.tables.list()
28
0 commit comments