public void findTodoTitleNotes() { BacktoryQuery todoQuery = new BacktoryQuery("Note") .WhereContains("title", "todo"); todoQuery.FindInBackground(response => { if (response.Successful) { ResultText.text = "Found all notes with title containing 'todo' successfully!\n" + JsonConvert.SerializeObject(response.Body, Formatting.Indented, JsonnetSetting()); } else { ResultText.text = "failed; " + response.Message; } }); }
public void findAllPinnedNotes() { BacktoryQuery pinnedQuery = new BacktoryQuery("Note") .WhereEqualTo("pinned", true); pinnedQuery.FindInBackground(response => { if (response.Successful) { ResultText.text = "Found all pinned notes successfully!\n" + JsonConvert.SerializeObject(response.Body, Formatting.Indented, JsonnetSetting()); } else { ResultText.text = "failed; " + response.Message; } }); }