Interface: UpsertOptions#
TableOperations.UpsertOptions
Extra options for upserts.
Hierarchy#
↳ UpsertOptions
Table of contents#
Properties#
Properties#
add#
• Optional add: boolean
Permit inserting a record. Defaults to true.
allowEmptyRequire#
• Optional allowEmptyRequire: boolean
Allow “wildcard” operation. Defaults to false.
onMany#
• Optional onMany: "all" | "none" | "first"
Whether to update none, one, or all matching records. Defaults to “first”.
parseStrings#
• Optional parseStrings: boolean
Whether to parse strings based on the column type. Defaults to true.
Inherited from#
update#
• Optional update: boolean
Permit updating a record. Defaults to true.