Skip to content

Commit

Permalink
fix(types): Add definition of returning in SaveOptions. (sequeliz…
Browse files Browse the repository at this point in the history
…e#16954)

Co-authored-by: Alyx <[email protected]>
  • Loading branch information
onozaty and ephys authored Feb 18, 2024
1 parent e81200e commit 505467b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/model.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1304,6 +1304,11 @@ export interface SaveOptions<TAttributes = any> extends Logging, Transactionable
* @default false
*/
omitNull?: boolean;

/**
* Return the affected rows (only for postgres)
*/
returning?: boolean | Array<keyof TAttributes>;
}

/**
Expand Down

0 comments on commit 505467b

Please sign in to comment.