DbState
Represents a connection to a simulated database.
| Methods |
| void |
commit()
|
| void |
commit()
|
| void |
connect()
|
| void |
connect()
|
| void |
createIndex(Index index)
|
| void |
createIndex(Index index)
|
| void |
createTable(Table table)
|
| void |
createTable(Table table)
|
| Result |
delete(Table table, String condition)
|
| Result |
delete(Table table, String condition)
|
| void |
disconnect()
|
| void |
disconnect()
|
| void |
dropIndex(Index index)
|
| void |
dropIndex(Index index)
|
| void |
dropTable(Table table)
|
| void |
dropTable(Table table)
|
| void |
end()
|
| void |
end()
|
| Result |
insert(Table table, Column[] c, Value[] v)
|
| Result |
insert(Table table, Column[] c, Value[] v)
|
| Table |
randomTable()
Get a random table.
|
| Table |
randomTable()
Get a random table.
Returns:
the table
|
| void |
reset()
|
| void |
reset()
|
| void |
rollback()
|
| void |
rollback()
|
| Result |
select(String sql)
|
| Result |
select(String sql)
|
| void |
setAutoCommit(boolean b)
|
| void |
setAutoCommit(boolean b)
|
| String |
toString()
|
| String |
toString()
|
| Result |
update(Table table, Column[] columns, Value[] values, String condition)
|
| Result |
update(Table table, Column[] columns, Value[] values, String condition)
|
|