![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
parse-utils
Advanced tools
This library is available on npm, install it with: npm install --save parse-utils
Initialize the Parse SDK.
ParseObject
Create a pointer to a Parse object given its id and the class name
Set the value of Parse object field (it mutates the object).
Set the value of Parse object field to a Parse pointer (it mutates the object).
Set the value of Parse object field to an array of pointers (it mutates the object).
ParseObject
Upload a file.
ParseObject
Get a User given its email.
ParseObject
Get a User given its id.
ParseObject
Get a Role given its name.
Array.<ParseObject>
Execute a "find" Parse Query regardless of the limit imposed by Parse (which is 500).
Array.<ParseObject>
Execute a "saveAll" Parse Query splitting in chunks the saveAll instructions.
ParseObject
Create a Role with the specified name (only if it doesn't alrady exists).
Bool
Check if the the user is in a certain role.
Initialize the Parse SDK.
Category: Synchronous.
Param | Type |
---|---|
appId | String |
serverURL | String |
ParseObject
Create a pointer to a Parse object given its id and the class name
Returns: ParseObject
- Pointer to the Parse object.
Category: Synchronous.
Param | Type | Description |
---|---|---|
className | String | The class name of the Parse object. |
objectId | String | The id of the Parse object. |
Set the value of Parse object field (it mutates the object).
Category: Synchronous.
Param | Type | Description |
---|---|---|
parseObject | ParseObject | The Parse object with the field that must be set. |
fieldName | String | The name of the field. |
fieldValue | Any | The value of the field. |
Set the value of Parse object field to a Parse pointer (it mutates the object).
Category: Synchronous.
Param | Type | Description |
---|---|---|
parseObject | ParseObject | The Parse object with the field that must be set. |
fieldName | String | The name of the field. |
pointerId | String | The objectId of the object pointed by the Parse pointer. |
pointerClassName | Object | The class name of the pointed object. |
Set the value of Parse object field to an array of pointers (it mutates the object).
Category: Synchronous.
Param | Type | Description |
---|---|---|
parseObject | ParseObject | The object that with field that must be set. |
fieldName | String | The name of the field |
pointersIds | Array.<String> | The objectIds of the objects pointed by the Parse pointers. |
pointersClassName | Object | The class name of the pointed objects. |
ParseObject
Upload a file.
Returns: ParseObject
- The uploaded file.
Category: Asynchronous.
Param | Type |
---|---|
fileName | String |
file | File |
ParseObject
Get a User given its email.
Returns: ParseObject
- The User object.
Category: Asynchronous.
Param | Type |
---|---|
String |
ParseObject
Get a User given its id.
Returns: ParseObject
- The User object.
Category: Asynchronous.
Param | Type |
---|---|
objectId | String |
ParseObject
Get a Role given its name.
Returns: ParseObject
- The Role object.
Category: Asynchronous.
Param | Type |
---|---|
roleName | String |
Array.<ParseObject>
Execute a "find" Parse Query regardless of the limit imposed by Parse (which is 500).
Returns: Array.<ParseObject>
- The array with the found Parse objects.
Category: Asynchronous.
Param | Type | Description |
---|---|---|
parseQuery | ParseQuery | The "find" Parse Query that will be executed. |
findOptions | Object | Options passed to the "find" function. |
Array.<ParseObject>
Execute a "saveAll" Parse Query splitting in chunks the saveAll instructions.
Returns: Array.<ParseObject>
- An array with the saved Parse Objects
Category: Asynchronous.
Param | Type | Description |
---|---|---|
parseObjects | Array.<ParseObject> | The array of Parse object that will be saved. |
saveOptions | Object | Options passed to the "saveAll" function. |
chunkSize | Number | The chunk size of the promises. |
ParseObject
Create a Role with the specified name (only if it doesn't alrady exists).
Returns: ParseObject
- - The created Role (undefined if the role already exists).
Category: Asynchronous.
Param | Type | Description |
---|---|---|
roleName | String | The Role name. |
saveOptions | Object | Options passed to the "save" command. |
Bool
Check if the the user is in a certain role.
Returns: Bool
- - Is the user in the role?
Category: Asynchronous.
Param | Type | Description |
---|---|---|
userId | String | The user objectId. |
roleName | String | The role name. |
FAQs
Parse JS SDK and Parse-Server utilities
The npm package parse-utils receives a total of 6 weekly downloads. As such, parse-utils popularity was classified as not popular.
We found that parse-utils demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.