Optional
Readonly
insertOptional
Readonly
numThis is defined for insert, update, delete and merge queries and contains the number of rows the query inserted/updated/deleted.
Optional
Readonly
numThis is defined for update queries and contains the number of rows the query changed. This is optional and only provided by some drivers like node-mysql2.
Optional
Readonly
numuse numAffectedRows instead.
Readonly
rowsThe rows returned by the query. This is always defined and is empty if the query returned no rows.
Generated using TypeDoc
This is defined for insert queries on dialects that return the auto incrementing primary key from an insert.