Skip to content

Commit 12c515f

Browse files
author
dmitry_gorodentcev
committed
Added offset prop for find options
1 parent c6d5d81 commit 12c515f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/TypeScript/orm.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ declare module "orm" {
2424
find(conditions: { [property: string]: any }, callback: (err: Error, results: Instance[]) => void): Model;
2525
find(conditions: { [property: string]: any }, options: {
2626
limit?: number;
27+
offset?: number;
2728
order?: any;
2829
}, callback: (err: Error, results: Instance[]) => void): Model;
2930
find(conditions: { [property: string]: any }, limit: number, order: string[], callback: (err: Error, results: Instance[]) => void): Model;

0 commit comments

Comments
 (0)