DataQueryBuilder.fromJson constructor
DataQueryBuilder.fromJson(
- Map json
Implementation
DataQueryBuilder.fromJson(Map json) {
pageSize = json['pageSize'];
offset = json['offset'];
properties = json['props']?.cast<String>();
excludeProperties = json['excludeProps']?.cast<String>();
whereClause = json['where'];
groupBy = json['groupBy']?.cast<String>();
havingClause = json['having'];
sortBy = json['sortBy']?.cast<String>();
loadRelations = json['loadRelations']?.cast<String>();
if (json['relationsDepth'] != null) {
relationsDepth = json['relationsDepth'];
} else {
relationsDepth = DEFAULT_RELATIONS_DEPTH;
}
relationsPageSize = json['relationsPageSize'];
distinct = json['distinct'];
}