RelationProxy.updateAll

Update all the records matching filters to new values from the AA.

Does not use IDs of any existing cached data, simply uses the specified filter in an UPDATE query.

struct RelationProxy(T)
updateAll
(
U
)
(
U[string] updates
)

Examples

p.where("posts > 500").updateAll(["rank": "Frequent Poster]);

Meta