There was an error while loading. Please reload this page.
2 parents 9a849ba + e859768 commit e4dd305Copy full SHA for e4dd305
lib/models/Model.d.ts
@@ -224,6 +224,8 @@ export declare abstract class Model<T extends Model<T>> extends Hooks {
224
*/
225
static findById<T extends Model<T>>(this: (new () => T), identifier?: number | string, options?: IFindOptions<T>): Promise<T | null>;
226
227
+ static findByPk<T extends Model<T>>(this: (new () => T), identifier?: number | string, options?: IFindOptions<T>): Promise<T | null>;
228
+
229
static findByPrimary<T extends Model<T>>(this: (new () => T), identifier?: number | string, options?: IFindOptions<T>): Promise<T | null>;
230
231
/**
0 commit comments