Sqflite class

sqflite plugin

Constructors

Sqflite()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

platformVersion Future<String?>
deprecated
no setter

Static Methods

devInvokeMethod(String method, [dynamic arguments]) Future<void>
Testing only
devSetDebugModeOn([bool on = true]) Future<void>
deprecated on purpose to remove from code.
firstIntValue(List<Map<String, dynamic>> list) int?
helper to get the first int value in a query Useful for COUNT(*) queries
getDebugModeOn() Future<bool>
Planned Deprecated for 1.1.7
hex(List<int> bytes) String
Utility to encode a blob to allow blow query using 'hex(blob_field) = ?', Sqlite.hex(1,2,3)
setDebugModeOn([bool on = true]) Future<void>
Turns on debug mode if you want to see the SQL query executed natively.
setLockWarningInfo({Duration? duration, void callback()?}) → void
Sqlite has a dead lock warning feature that will print some text after 10s, you can override the default behavior