Skip to content

docs: Fix incorrect type in docs for Parse.Query.containedIn and Parse.Query.notContainedIn #1784

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Feb 21, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/ParseQuery.js
Original file line number Diff line number Diff line change
Expand Up @@ -1284,10 +1284,10 @@ class ParseQuery {
* be contained in the provided list of values.
*
* @param {string} key The key to check.
* @param {*} value The values that will match.
* @param {Array<*>} value The values that will match.
* @returns {Parse.Query} Returns the query, so you can chain this call.
*/
containedIn(key: string, value: mixed): ParseQuery {
containedIn(key: string, value: Array<mixed>): ParseQuery {
return this._addCondition(key, '$in', value);
}

Expand All @@ -1296,10 +1296,10 @@ class ParseQuery {
* not be contained in the provided list of values.
*
* @param {string} key The key to check.
* @param {*} value The values that will not match.
* @param {Array<*>} value The values that will not match.
* @returns {Parse.Query} Returns the query, so you can chain this call.
*/
notContainedIn(key: string, value: mixed): ParseQuery {
notContainedIn(key: string, value: Array<mixed>): ParseQuery {
return this._addCondition(key, '$nin', value);
}

Expand Down