Created
April 26, 2018 02:35
-
-
Save SeloSlav/a23ebc1b27a5784096b1bf68433a8239 to your computer and use it in GitHub Desktop.
Query Yeets from Parse
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class IndexModel : PageModel | |
{ | |
public void OnGet() | |
{ | |
Task<int> task = GetYeetsAsync(); | |
} | |
private async Task<int> GetYeetsAsync() | |
{ | |
var query = ParseObject.GetQuery("Yeet"); | |
IEnumerable<ParseObject> results = await query.FindAsync(); | |
var count = await query.CountAsync(); | |
Debug.WriteLine("# Yeets: " + count); | |
throw new NotImplementedException(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment