@textile/hub > WriteTransaction > save
WriteTransaction.save() method
save saves changes to an existing model instance in the given store.
Signature:
save<T = unknown>(values: T[]): Promise<void>;
Parameters
Parameter | Type | Description |
---|---|---|
values | T[] | An array of model instances as JSON/JS objects. Each model instance must have a valid existing ID property. |
Returns:
Promise<void>