LeanCloud C# SDK
Loading...
Searching...
No Matches
Public Member Functions | Properties | List of all members
LeanCloud.Storage.LCStatusQuery Class Reference

LCStatusQuery is the query of LCStatus. More...

Inheritance diagram for LeanCloud.Storage.LCStatusQuery:
LeanCloud.Storage.LCQuery< LCStatus >

Public Member Functions

 LCStatusQuery (string inboxType=LCStatus.InboxTypeDefault)
 Constructs a LCStatusQuery with inboxType.
 
new async Task< ReadOnlyCollection< LCStatus > > Find ()
 Retrieves a list of LCStatus that satisfy the query from the cloud.
 
- Public Member Functions inherited from LeanCloud.Storage.LCQuery< LCStatus >
 LCQuery (string className, string endpoint)
 Constructs a LCQuery for class.
 
 LCQuery (string className)
 
 LCQuery (string className, string endpoint)
 
LCQuery< T > WhereEqualTo (string key, object value)
 The value corresponding to key is equal to value, or the array corresponding to key contains value.
 
LCQuery< T > WhereNotEqualTo (string key, object value)
 The value corresponding to key is not equal to value, or the array corresponding to key does not contain value.
 
LCQuery< T > WhereContainedIn (string key, IEnumerable values)
 Values contains value corresponding to key, or values contains at least one element in the array corresponding to key.
 
LCQuery< T > WhereNotContainedIn (string key, IEnumerable values)
 The value of key must not be contained in values.
 
LCQuery< T > WhereContainsAll (string key, IEnumerable values)
 The array corresponding to key contains all elements in values.
 
LCQuery< T > WhereExists (string key)
 The attribute corresponding to key exists.
 
LCQuery< T > WhereDoesNotExist (string key)
 The attribute corresponding to key does not exist.
 
LCQuery< T > WhereSizeEqualTo (string key, int size)
 The size of the array corresponding to key is equal to size.
 
LCQuery< T > WhereGreaterThan (string key, object value)
 The value corresponding to key is greater than value.
 
LCQuery< T > WhereGreaterThanOrEqualTo (string key, object value)
 The value corresponding to key is greater than or equal to value.
 
LCQuery< T > WhereLessThan (string key, object value)
 The value corresponding to key is less than value.
 
LCQuery< T > WhereLessThanOrEqualTo (string key, object value)
 The value corresponding to key is less than or equal to value.
 
LCQuery< T > WhereNear (string key, LCGeoPoint point)
 The value corresponding to key is near the point.
 
LCQuery< T > WhereWithinGeoBox (string key, LCGeoPoint southwest, LCGeoPoint northeast)
 The value corresponding to key is in the given rectangular geographic bounding box.
 
LCQuery< T > WhereWithinRadians (string key, LCGeoPoint point, double maxDistance)
 
LCQuery< T > WhereWithinMiles (string key, LCGeoPoint point, double maxDistance)
 
LCQuery< T > WhereWithinKilometers (string key, LCGeoPoint point, double maxDistance)
 
LCQuery< T > WhereRelatedTo (LCObject parent, string key)
 The value corresponding to key is related to the parent.
 
LCQuery< T > WhereStartsWith (string key, string prefix)
 The string corresponding to key has a prefix.
 
LCQuery< T > WhereEndsWith (string key, string suffix)
 The string corresponding to key has a suffix.
 
LCQuery< T > WhereContains (string key, string subString)
 The string corresponding to key has a subString.
 
LCQuery< T > WhereMatches (string key, string regex, string modifiers=null)
 Matches the regexp.
 
LCQuery< T > WhereMatchesQuery< K > (string key, LCQuery< K > query)
 The value of key must match query.
 
LCQuery< T > WhereDoesNotMatchQuery< K > (string key, LCQuery< K > query)
 The value of key must not match query.
 
LCQuery< T > OrderByAscending (string key)
 Sorts the results in ascending order by the given key.
 
LCQuery< T > OrderByDescending (string key)
 Sorts the results in descending order by the given key.
 
LCQuery< T > AddAscendingOrder (string key)
 Also sorts the results in ascending order by the given key.
 
LCQuery< T > AddDescendingOrder (string key)
 Also sorts the results in descending order by the given key.
 
LCQuery< T > Include (string key)
 Includes nested LCObject for the provided key.
 
LCQuery< T > Select (string key)
 Restricts the keys of the LCObject returned.
 
LCQuery< T > Skip (int value)
 Sets the amount of results to skip before returning any results.
 
LCQuery< T > Limit (int value)
 Sets the limit of the number of results to return.
 
async Task< int > Count ()
 Counts the number of objects that match this query.
 
async Task< T > Get (string objectId)
 Constructs a LCObject whose id is already known by fetching data from the cloud.
 
async Task< ReadOnlyCollection< T > > Find ()
 Retrieves a list of LCObjects that satisfy the query from Server.
 
async Task< T > First ()
 Retrieves at most one LCObject that satisfies this query.
 

Properties

string InboxType [get, set]
 The inbox type for query.
 
int SinceId [get, set]
 The since id for the query.
 
int MaxId [get, set]
 The max id for the query.
 
- Properties inherited from LeanCloud.Storage.LCQuery< LCStatus >
string ClassName [get, set]
 The classname of this query.
 
string Endpoint [get]
 
LCCompositionalCondition Condition [get, set]
 
bool IncludeACL [get, set]
 Includes the ALC or not.
 

Additional Inherited Members

- Static Public Member Functions inherited from LeanCloud.Storage.LCQuery< LCStatus >
static LCQuery< T > And (IEnumerable< LCQuery< T > > queries)
 Constructs a query that is the and of the given queries.
 
static LCQuery< T > Or (IEnumerable< LCQuery< T > > queries)
 Constructs a query that is the or of the given queries.
 

Detailed Description

LCStatusQuery is the query of LCStatus.

Constructor & Destructor Documentation

◆ LCStatusQuery()

LeanCloud.Storage.LCStatusQuery.LCStatusQuery ( string  inboxType = LCStatus::InboxTypeDefault)
inline

Constructs a LCStatusQuery with inboxType.

Parameters
inboxType

Member Function Documentation

◆ Find()

new async Task< ReadOnlyCollection< LCStatus > > LeanCloud.Storage.LCStatusQuery.Find ( )
inline

Retrieves a list of LCStatus that satisfy the query from the cloud.

Returns

Property Documentation

◆ InboxType

string LeanCloud.Storage.LCStatusQuery.InboxType
getset

The inbox type for query.

◆ MaxId

int LeanCloud.Storage.LCStatusQuery.MaxId
getset

The max id for the query.

◆ SinceId

int LeanCloud.Storage.LCStatusQuery.SinceId
getset

The since id for the query.


The documentation for this class was generated from the following file: