A Result summarizes an executed SQL command.

Hierarchy

  • Result

Indexable

[key: string]: any

Methods

  • LastInsertId returns the integer generated by the database in response to a command. Typically this will be from an "auto increment" column when inserting a new row. Not all databases support this feature, and the syntax of such statements varies.

    Returns number

  • RowsAffected returns the number of rows affected by an update, insert, or delete. Not every database or database driver may support this.

    Returns number

Generated using TypeDoc