Package dev.gmitch215.bytebox.binding
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 TypeMethodDescriptionintReturns how many rows changed.doubleReturns how long the statement took, in milliseconds.doubleReturns the rowid of the last inserted row.intReturns how many rows the database read.intReturns 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
-