Interface D1Database.D1Result

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

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

    Modifier and Type
    Method
    Description
    default int
    Returns how many rows the statement changed.
    Returns timing and row counts.
    org.teavm.jso.core.JSArrayReader<TSObject>
    Returns the rows.
    boolean
    Returns whether the statement succeeded.
    default List<TSObject>
    Returns the rows, as a Java list.

    Methods inherited from interface org.teavm.jso.JSObject

    cast
  • Method Details

    • getResults

      org.teavm.jso.core.JSArrayReader<TSObject> getResults()
      Returns the rows.
      Returns:
      the rows
    • isSuccess

      boolean isSuccess()
      Returns whether the statement succeeded.
      Returns:
      whether the statement succeeded
    • getMeta

      Returns timing and row counts.
      Returns:
      timing and row counts
    • rows

      default List<TSObject> rows()
      Returns the rows, as a Java list.
      Returns:
      the rows, as a Java list
    • changes

      default int changes()
      Returns how many rows the statement changed.
      Returns:
      how many rows the statement changed