@clickup/ent-framework
Version:
A PostgreSQL graph-database-alike library with microsharding and row-level security
19 lines • 485 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.QueryPing = void 0;
/**
* A helper Query which delegates to Client#ping(execTimeMs).
*/
class QueryPing {
constructor(input) {
this.input = input;
}
get IS_WRITE() {
return this.input.isWrite;
}
async run(client, annotation) {
return client.ping({ ...this.input, annotation });
}
}
exports.QueryPing = QueryPing;
//# sourceMappingURL=QueryPing.js.map
;