silence
The silence
helper is used to silence any errors:
import { silence } from "typesaurus";
// Ignore if postId doesn't existsilence( db.posts.update(postId, ($) => $.field("deletedAt").set($.serverDate())),);
The silence
helper is used to silence any errors:
import { silence } from "typesaurus";
// Ignore if postId doesn't existsilence( db.posts.update(postId, ($) => $.field("deletedAt").set($.serverDate())),);