select method
Implementation
FullIdWithValue? select(SqlId id) {
checkActive();
ResultSet result;
if (id.hasRowId)
result = _selectByRowId!.select([id.rowid]);
else
result = _selectByKeyId!.select(<Object>[id.keyid!]);
int length = result.length;
checkState(length == 0 || length == 1);
return length == 0
? null
: (
id: FullId(
id.hasRowId ? id.rowid : result.first.columnAt(0) as int,
!id.hasRowId ? id.keyid! : result.first.columnAt(0) as Object,
),
value: jsonDecode(result.first.columnAt(1) as String) as Object,
);
}