コード例 #1
0
ファイル: TestDataService.cs プロジェクト: ramilbgd/.NET-SDK
    void GetTestData()
    {
        DataQueryBuilder query = DataQueryBuilder.Create();

        query.SetWhereClause("nameTimeColumn LIKE '%Bob%'");
        query.AddSortBy("created desc");
        Backendless.Data.Of("TestTable")
        .Find(query,
              new AsyncCallback <IList <Dictionary <string, object> > >(
                  response =>
        {
            Debug.Log("Found " + response.Count + " test data results. First object ID is " + response[0]["objectId"]);
        },
                  error =>
        {
            Debug.Log("Failed to find test data: Code = " + error.FaultCode
                      + ", Message = " + error.Message
                      + ", Details = " + error.Detail);
        }
                  )
              );
    }