public class DBCommand
| Modifier and Type | Field |
|---|---|
DBConnection |
_connection
|
Handle |
_commandHandle
|
| Modifier and Type | Constructor / Static Method |
|---|---|
DBCommand |
new(DBConnection connection, String text)
|
| Modifier and Type | Conversion Method |
|---|---|
Handle |
cast()
|
| Modifier and Type | Method |
|---|---|
|
eval()
|
BoolValue |
evalNext()
|
|
evalScalar()
|
DBReader |
reader()
|
Enumerator |
enumerator()
|
|
at(IntNumber index)
|
IntNumber |
readFieldCount()
|
system'String[] |
sql_field_names()
|
|
close()
|
public class DBConnection
| Modifier and Type | Constructor / Static Method |
|---|---|
DBConnection |
new(File p)
|
DBConnection |
new(String path)
|
| Modifier and Type | Conversion Method |
|---|---|
Handle |
cast()
|
| Modifier and Type | Method |
|---|---|
BoolValue |
isAvailable()
|
|
open()
|
String |
last_error_message()
|
|
doSql(query)
|
|
executeNonQuery(String sqlText)
|
|
executeQuery(String sqlText)
|
|
numberOfTable()
|
|
tables()
|
|
close()
|
public class DBEnumerator
| Modifier and Type | Field |
|---|---|
DBReader |
reader
|
| Modifier and Type | Constructor / Static Method |
|---|---|
DBEnumerator |
constructor(DBReader reader)
|
| Modifier and Type | Property |
|---|---|
get system'Object[] |
Value()
|
| Modifier and Type | Conversion Method |
|---|---|
Enumerator |
cast()
|
| Modifier and Type | Method |
|---|---|
BoolValue |
next()
|
|
reset()
|
|
enumerable()
|
public class DBException
| Modifier and Type | Constructor / Static Method |
|---|---|
DBException |
new()
|
DBException |
new(String message)
|
public class DBReader
| Modifier and Type | Field |
|---|---|
DBCommand |
_command
|
Handle |
_commandHandle
|
system'String[] |
_fieldNames
|
| Modifier and Type | Method |
|---|---|
Enumerator<system'Array<system'Object>> |
enumerator()
|
IntNumber |
readNext()
|
BoolValue |
next()
|
|
at(IntNumber n)
|
|
at(String fieldName)
|
system'Object[] |
row()
|
|
close()
|
public class DBRow
| Modifier and Type | Field |
|---|---|
system'Object[] |
_row
|
DBTable |
_table
|
| Modifier and Type | Constructor / Static Method |
|---|---|
internal DBRow |
newTableRow(system'Object[] row, DBTable table)
|
public class DBTable
| Modifier and Type | Field |
|---|---|
system'String[] |
_fieldNames
|
List<sqlite'DBRow> |
_rows
|
| Modifier and Type | Constructor / Static Method |
|---|---|
DBTable |
new(system'String[] names)
|
| Modifier and Type | Method |
|---|---|
|
appendRow(system'Object[] row)
|
internal IntNumber |
indexOfField(String fieldName)
|
sqlite'DBRow[] |
rows()
|
system'String[] |
fields()
|
IntNumber |
fieldCount()
|