Skip to main content

All Questions

2 votes
3 answers
1k views

Database Model Classes in TypeScript

I'm using Knex.js with TypeScript for database access. Table uid (UUID, auto-generated by Postgres) name (varchar) Model interface User { uid: string | null; name: string; } ...
John Mark Gabriel Caguicla's user avatar