Skip to content

Commit a46908c

Browse files
authored
docs: Add missing docs to Parse.Query.select (#2918)
1 parent 9697a70 commit a46908c

2 files changed

Lines changed: 10 additions & 0 deletions

File tree

src/ParseQuery.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1921,6 +1921,11 @@ class ParseQuery<T extends ParseObject = ParseObject> {
19211921
* provided keys. If this is called multiple times, then all of the keys
19221922
* specified in each of the calls will be included.
19231923
*
1924+
* When selecting `authData` on `Parse.User`, only auth data of currently
1925+
* configured auth providers is returned. Auth data of providers that are no
1926+
* longer configured is not included. To return all auth data regardless of
1927+
* the provider configuration, do not select `authData`.
1928+
*
19241929
* @param {...string|Array<string>} keys The name(s) of the key(s) to include.
19251930
* @returns {Parse.Query} Returns the query, so you can chain this call.
19261931
*/

types/ParseQuery.d.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -812,6 +812,11 @@ declare class ParseQuery<T extends ParseObject = ParseObject> {
812812
* provided keys. If this is called multiple times, then all of the keys
813813
* specified in each of the calls will be included.
814814
*
815+
* When selecting `authData` on `Parse.User`, only auth data of currently
816+
* configured auth providers is returned. Auth data of providers that are no
817+
* longer configured is not included. To return all auth data regardless of
818+
* the provider configuration, do not select `authData`.
819+
*
815820
* @param {...string|Array<string>} keys The name(s) of the key(s) to include.
816821
* @returns {Parse.Query} Returns the query, so you can chain this call.
817822
*/

0 commit comments

Comments
 (0)