utils library Null safety

Constants

sqlCountColumn → const String
count column.
'COUNT(*)'

Properties

lockWarningCallback ↔ (void Function?()?)
Deprecated since 1.1.7+.
@Deprecated('Used internally')@Deprecated('Used internally')read / write
lockWarningDuration Duration?
Deprecated since 1.1.7+.
@Deprecated('Used internally')@Deprecated('Used internally')read / write

Functions

firstIntValue(List<Map<String, Object?>> list) int?
helper to get the first int value in a query Useful for COUNT(*) queries
hex(List<int> bytes) String
Utility to encode a blob to allow blob query using 'hex(blob_field) = ?', Sqlite.hex(1,2,3)
setLockWarningInfo({Duration? duration, void callback()?}) → void
Change database lock behavior mechanism.