A request that either reads or writes.
💡 kind is "read" or "write".
kind
"read"
"write"
import type { DbmsQueryInterface } from "@itsaorg/dbms-base";function writes(query: DbmsQueryInterface): boolean { return query.kind === "write";} Copy
import type { DbmsQueryInterface } from "@itsaorg/dbms-base";function writes(query: DbmsQueryInterface): boolean { return query.kind === "write";}
DbmsQuery
Readonly
Whether this query reads or writes.
A request that either reads or writes.
💡
kindis"read"or"write".Example
See
DbmsQuery