Simple UPDATE​
Simple updates can be executed directly on the litdb driver APIs which will update all properties of a data model:
UPDATE Specific Properties​
For updating specific properties of a data model, the onlyProps
option can be used:
UPDATE Query Builder​
When more flexibility is needed you can use $.update()
to create an UPDATE query builder:
UPDATE Expression​
When the full flexibility of SQL is needed, you can execute a SQL fragment directly: