Package dev.gmitch215.bytebox.binding
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
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
D1Database.D1Meta getMeta()Returns timing and row counts.- Returns:
- timing and row counts
-
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
-