andywer / andywer/squid

Support for column aliases (middlewares?)

Aperta
#33 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

Is there an existing approach to supporting columns with names that don't match my objects? My database column names are in snake case, but my code is all camel case. I've written some functions to convert objects to and from this, but it would be really nice to be able to define this in the schema.

Thanks!

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.