You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reading Kysely documentation I noticed they suggest using Insertable, Selectable, and Updatable wrappers.
exportinterfacePetTable{id: Generated<number>name: stringowner_id: numberspecies: 'dog'|'cat'}// You should not use the table schema interfaces directly. Instead, you should// use the `Selectable`, `Insertable` and `Updateable` wrappers. These wrappers// make sure that the correct types are used in each operation.exporttypePet=Selectable<PetTable>exporttypeNewPet=Insertable<PetTable>exporttypePetUpdate=Updateable<PetTable>
It'll be nice if they'll be generated too.
The text was updated successfully, but these errors were encountered:
Reading Kysely documentation I noticed they suggest using Insertable, Selectable, and Updatable wrappers.
It'll be nice if they'll be generated too.
The text was updated successfully, but these errors were encountered: