Skip to content

Commit

Permalink
fix(types): Add definition of returning in SaveOptions. (#16954)
Browse files Browse the repository at this point in the history
Co-authored-by: Alyx <zoe@ephys.dev>
  • Loading branch information
onozaty and ephys committed 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
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.