public class Vm extends Object
| Modifier and Type | Field and Description |
|---|---|
protected int |
error_code
Internal last error code for compile()/step() methods.
|
| Constructor and Description |
|---|
Vm() |
protected int error_code
public boolean step(Callback cb) throws Exception
...
try {
Vm vm = db.compile("select * from x; select * from y;");
while (vm.step(cb)) {
...
}
while (vm.compile()) {
while (vm.step(cb)) {
...
}
}
} catch (SQLite.Exception e) {
}
cb - the object implementing the callback methods.Exceptionpublic boolean compile()
throws Exception
ExceptionCopyright © 2014. All rights reserved.