zero-nest-mongoose package
Home > @cbnsndwch/zero-nest-mongoose
zero-nest-mongoose package
Classes
Class
Description
Functions
Function
Description
invariant(condition, message, errorClass, logger)
Throws an error of the specified type with the given message if the condition is not met.
Type Aliases
Type Alias
Description
A JSON object. This is a map from strings to JSON values or undefined. We allow undefined values as a convenience... but beware that the undefined values do not round trip to the server. For example:
// Time t1
await tx.set('a', {a: undefined});
// time passes, in a new transaction
const v = await tx.get('a');
console.log(v); // either {a: undefined} or {}The values that can be represented in JSON
Like JSONObject but deeply readonly
Like JSONValue but deeply readonly
related calls need to know what the available relationships are. The schema type encodes this information.
How was this page?