mDatabaseQuery

Summary

Query class to use when loading database list. Sort condition can be set as well as search condition.

Variable

Mode.Query The query
Mode.IDList The identifier list
QueryType.None The none
QueryType.EqualTo The equal
QueryType.LowerThan The lower than
QueryType.HigherThan The higher than
QueryType.Range The range

Property

mode Gets the mode.
idList Gets the identifier list.
key Gets the key.
orderBy Gets the order by.
limitCount Gets the limit count.
index Gets the index.
thenByKey Gets the sort key after the first sort is executed.
thenBy Gets the sort mode after the first sort is executed.
queryType Gets the type of the query.
valuePrimary Gets the value primary.
valueSecondary Gets the value secondary.
Count Gets the count.
limit Gets the limit.

Method

GetEnumerator( ) Gets the enumerator.
Create(System.String) Query creation (normal query). Query class to use when loading Firebase list. Sort condition can be set as well as search condition. i.e. mDatabaseQuery.Create( "key" ).mListOrderByAsc( ).HigherThan( 100 ).
Create(System.Collections.Generic.List{System.String},System.String) Query creation (ID list). Query class to use when loading Firebase list. Sort condition can be set as well as search condition. Make sure that there is an item containing an ID key in the object.
Index(System.Int32) Default index for query.
OrderByAsc(System.Int32) Sort in ascending order.
OrderByDesc(System.Int32) Sort in descending order.
ThenByAsc(System.String) Sort when the same value was set for the first sort (ascending order).
ThenByDesc(System.String) Sort when the same value was set for the first sort (descending order).
EqualTo(System.Double) Equal to the double value.
EqualTo(System.String) Equal to the string value.
EqualTo(System.Boolean) Equal to the bool value.
HigherThan(System.Double) Higher than the double value
LowerThan(System.Double) Less than the double value.
Range(System.Double,System.Double) Value range of numeric value.

Reference