menu
synchroflite package
documentation
synchroflite.dart
TimestampedCrdt class
TimestampedCrdt class
dark_mode
light_mode
TimestampedCrdt
class
abstract
Inheritance
Object
BaseCrdt
TimestampedCrdt
Implementers
SqlCrdt
TransactionCrdt
Constructors
TimestampedCrdt
(
DatabaseApi
db
)
Properties
canonicalTime
→
Hlc
no setter
hashCode
→
int
The hash code for this object.
no setter
inherited
nodeId
→
String
no setter
runtimeType
→
Type
A representation of the runtime type of the object.
no setter
inherited
Methods
execute
(
String
sql
, [
List
<
Object
?
>
?
args
])
→
Future
<
void
>
Executes a SQL query with an optional
args
list. Use "?" placeholders for parameters to avoid injection vulnerabilities:
inherited
noSuchMethod
(
Invocation
invocation
)
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
query
(
String
sql
, [
List
<
Object
?
>
?
args
])
→
Future
<
List
<
Map
<
String
,
Object
?
>
>
>
Performs a SQL query with optional
args
and returns the result as a list of column maps. Use "?" placeholders for parameters to avoid injection vulnerabilities:
inherited
toString
(
)
→
String
A string representation of this object.
inherited
Operators
operator ==
(
Object
other
)
→
bool
The equality operator.
inherited
synchroflite package
documentation
synchroflite
TimestampedCrdt class
synchroflite library