We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 582fa5c commit a2c07daCopy full SHA for a2c07da
test/client.model-facade.test.ts
@@ -66,7 +66,7 @@ describe('model-like facade usage examples (typed only)', () => {
66
// smoke-compile calls (no runtime exec)
67
void UserModel.create({ email: '[email protected]', name: 'X', role: 'guest' })
68
void UserModel.createMany([{ email: '[email protected]', name: 'A', role: 'member' }])
69
- void UserModel.firstOrCreate({ email: '[email protected]' }, { name: 'X' })
+ void UserModel.firstOrCreate({ email: '[email protected]' }, { name: 'X' })
70
void UserModel.updateOrCreate({ email: '[email protected]' }, { name: 'M' })
71
void UserModel.save({ id: 1, role: 'admin' })
72
void UserModel.find(1)
0 commit comments