update
The update action is used to update documents:
users.lunaql
query({
from({
users: {
where(["first_name", "==", "Donald"]);
update({
first_name: "Don"
});
};
});
});This will update any user document with the first_name of "Donald" to "Don".