MCPcopy Index your code
hub / github.com/parse-community/parse-server / newObjectId

Function newObjectId

src/cryptoUtils.js:36–38  ·  view source on GitHub ↗
(size: number = 10)

Source from the content-addressed store, hash-verified

34
35// Returns a new random alphanumeric string suitable for object ID.
36export function newObjectId(size: number = 10): string {
37 return randomString(size);
38}
39
40// Returns a new random hex string suitable for secure tokens.
41export function newToken(): string {

Callers 1

jobStatusHandlerFunction · 0.90

Calls 1

randomStringFunction · 0.85

Tested by

no test coverage detected