Interface D1Database.D1Meta

All Superinterfaces:
org.teavm.jso.JSObject
Enclosing interface:
D1Database

public static interface D1Database.D1Meta extends org.teavm.jso.JSObject
What a statement cost.
Since:
1.0.0
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns how many rows changed.
    double
    Returns how long the statement took, in milliseconds.
    double
    Returns the rowid of the last inserted row.
    int
    Returns how many rows the database read.
    int
    Returns how many rows the database wrote.

    Methods inherited from interface org.teavm.jso.JSObject

    cast
  • Method Details

    • getChanges

      int getChanges()
      Returns how many rows changed.
      Returns:
      how many rows changed
    • getLastRowId

      double getLastRowId()
      Returns the rowid of the last inserted row.
      Returns:
      the rowid of the last inserted row
    • getRowsRead

      int getRowsRead()
      Returns how many rows the database read.
      Returns:
      how many rows the database read
    • getRowsWritten

      int getRowsWritten()
      Returns how many rows the database wrote.
      Returns:
      how many rows the database wrote
    • getDuration

      double getDuration()
      Returns how long the statement took, in milliseconds.
      Returns:
      how long the statement took, in milliseconds