Skip to main content

node.lightyear.upsertobject

Home > @runlightyear/node > Lightyear > upsertObject

Lightyear.upsertObject() method

Signature:
upsertObject(props: {
collection: string;
model: string;
userId: string;
objectId: string;
updatedAt: string;
data: unknown;
}): Promise<void>;

Parameters

ParameterTypeDescription
props{ collection: string; model: string; userId: string; objectId: string; updatedAt: string; data: unknown; }
Returns:

Promise<void>