andywer / andywer/squid

Feature request: pg schemas

Ouverte
#14 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub
enhancement
Langage dominant
TypeScript
Étoiles
157
Forks
7
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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`, {...})
```

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.