We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ced7813 commit 541d965Copy full SHA for 541d965
apps/postgres-new/lib/db/index.ts
@@ -232,6 +232,7 @@ export class DbManager {
232
const { rows: messages } = await metaDb.sql<Database>`
233
select id, name, created_at as "createdAt", is_hidden as "isHidden"
234
from databases
235
+ where is_hidden = false
236
order by created_at asc
237
`
238
return messages
@@ -243,6 +244,7 @@ export class DbManager {
243
244
const { rows: messages } = await metaDb.sql<Result>`
245
select count(*)
246
247
248
249
const [{ count }] = messages ?? []
250
if (!count) {
0 commit comments