parse-community / Parse-Swift

The Swift SDK for Parse Platform (iOS, macOS, watchOS, tvOS, Linux, Android, Windows)
https://parseplatform.org
MIT License
308 stars 69 forks source link

And/Or Query on ParseSwift #368

Closed LilMoke closed 2 years ago

LilMoke commented 2 years ago

Can someone point me to a sample of how to construct and and/or query in ParseSwift?

I have not had much success.

parse-github-assistant[bot] commented 2 years ago

Thanks for opening this issue!

cbaker6 commented 2 years ago

https://github.com/parse-community/Parse-Swift/blob/c14723a028174dc6e42367acd3a8be437c7f61e3/ParseSwift.playground/Pages/7%20-%20GeoPoint.xcplaygroundpage/Contents.swift#L223-L241

All of the query constraints work in a similar way. Docs to related constraints:

cbaker6 commented 2 years ago

I recommend asking these type of questions on discourse. We use issues on GitHub for issues with the SDK.

In addition, you will need to complete the entire issue template to have issues addressed as the template is intended to help developers provide full descriptions of their issues.