SupabaseDatabase class
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
startAfter
↔ int?
-
getter/setter pair
Methods
-
createData(String collectionId, String mid, Map data)
→ Future<void>
-
override
-
createModel(String collectionId, AbsExModel model)
→ Future<void>
-
inherited
-
filterSnapshotData(List<Map<String, dynamic>> snapshotData, Map<String, dynamic>? where)
→ List<Map<String, dynamic>>
-
-
getAllData(String collectionId)
→ Future<List>
-
override
-
getData(String collectionId, String mid)
→ Future<Map<String, dynamic>>
-
override
-
initialize()
→ Future<void>
-
override
-
initStream({required String collectionId, required Map<String, dynamic> where, required String orderBy, bool descending = true, int? limit, bool hasPage = false})
→ dynamic
-
override
-
isNameExist(String collectionId, {required String value, String name = 'name'})
→ Future<bool>
-
override
-
jsonStringToList(String value)
→ List<String>
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
queryData(String collectionId, {required Map<String, dynamic> where, required String orderBy, bool descending = true, int? limit, int? offset, List<Object?>? startAfter})
→ Future<List>
-
override
-
queryMaker(String column, OperType operType, dynamic value, PostgrestFilterBuilder filterBuilder)
→ PostgrestFilterBuilder
-
-
queryMakerStream(String column, QueryValue value, SupabaseStreamFilterBuilder streamBuilder)
→ SupabaseStreamBuilder
-
-
queryPage(String collectionId, {required Map<String, QueryValue> where, required Map<String, OrderDirection> orderBy, int? limit, int? offset, List<Object?>? startAfter})
→ Future<List>
-
override
-
removeData(String collectionId, String mid)
→ Future<void>
-
override
-
removeFirstElement(Map<String, dynamic> where)
→ void
-
-
removeModel(String collectionId, String mid)
→ Future<void>
-
inherited
-
setData(String collectionId, String mid, Map data)
→ Future<void>
-
override
-
setModel(String collectionId, AbsExModel model, {bool dontRealTime = false})
→ Future<void>
-
inherited
-
simpleQueryData(String collectionId, {required String name, required String value, required String orderBy, bool descending = true, int? limit, int? offset})
→ Future<List>
-
override
-
streamData({required String collectionId, required Widget consumerFunc(List<Map<String, dynamic>> resultList), required Map<String, dynamic> where, required String orderBy, bool descending = true, int? limit, bool hasPage = false})
→ Widget
-
override
-
streamData2({required dynamic snapshot, required Widget consumerFunc(List<Map<String, dynamic>> resultList), Map<String, dynamic>? where, bool hasPage = false})
→ Widget
-
override
-
toString()
→ String
-
A string representation of this object.
inherited
-
updateData(String collectionId, String mid, Map data)
→ Future<void>
-
override