OptionSetQuery class

Inheritance

Constructors

OptionSetQuery({Database? database})

Properties

apiResourceName String?
getter/setter pairinherited
data ↔ dynamic
getter/setter pairinherited
database ↔ Database?
getter/setter pairinherited
fields List<String>?
getter/setter pairinherited
filters List<QueryFilter>?
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
id String?
getter/setter pairinherited
junctionOperator String?
getter/setter pairinherited
mergeMode MergeMode
no getterinherited
primaryKey Column?
getter/setter pairinherited
query QueryModel
no setterinherited
relations List<ColumnRelation>
getter/setter pairinherited
repository Repository<BaseEntity>
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selected List<String>
A list of strings as an argument for the select method. It can contain various fields as accepted by the DHIS2 API.
getter/setter pairinherited
singularResourceName String?
getter/setter pairinherited
sortOrder Map<String, SortOrder>
getter/setter pairinherited
tableName String?
getter/setter pairinherited

Methods

byId(String id) → dynamic
inherited
byIds(List<String> ids) → dynamic
inherited
count() Future
inherited
create() Future
inherited
createTable() Future
inherited
delete() Future
inherited
deleteOnline({Dio? dioTestClient}) Future<Map<String, dynamic>>
inherited
dhisUrl() Future<String>
inherited
download(dynamic callback(RequestProgress, bool), {Dio? dioTestClient}) Future<List<OptionSet>?>
inherited
fetchOnline({Dio? dioTestClient}) Future<List<OptionSet>>
inherited
get({Dio? dioTestClient, bool? online}) Future<List<OptionSet>>
inherited
getOne({Dio? dioTestClient, bool? online}) Future<OptionSet?>
inherited
greaterThan({required String attribute, required dynamic value}) → dynamic
inherited
greaterThanOrEqual({required String attribute, required dynamic value}) → dynamic
inherited
ilike({required String attribute, required dynamic value, String? filterCondition, String? key, String? keyValue}) → dynamic
inherited
lessThan({required String attribute, dynamic value}) → dynamic
inherited
lessThanOrEqual({required String attribute, required dynamic value}) → dynamic
inherited
like({required String attribute, required dynamic value}) → dynamic
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
orderBy({required String attribute, required SortOrder order}) → dynamic
inherited
save({SaveOptions? saveOptions}) Future<int>
inherited
select(List<String> fields) → dynamic
A method that accepted a list of user selected fields as an argument . Fields as accepted by the DHIS2 API.
inherited
setData(dynamic data) → dynamic
inherited
toString() String
A string representation of this object.
inherited
where({required String attribute, dynamic value}) → dynamic
inherited
whereIn({required String attribute, required List<String> values, required bool merge}) → dynamic
inherited

Operators

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