andywer / andywer/squid

Feature request: pg schemas

Aperta
#14 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
enhancement
Lingua principale
TypeScript
Stelle
157
Fork
7
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

It seems as though there might be an issue with using squid + postguard when using postgres schemas, I would assume that when referencing tables in schemas one should use the FQN of the table in the `defineTable` method but this does not seem to work as intended with postguard.

I would expect the following to work and type check correctly, in addition it seems as postguard ignores the schema portion of table names when it checks a query

```
defineTable('schemaName.tableName`, {...})
```

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.