MCPcopy
hub / github.com/eveningkid/denodb / delete

Method delete

lib/model.ts:693–697  ·  view source on GitHub ↗

Delete selected records. * * await Flight.where("destination", "Paris").delete();

()

Source from the content-addressed store, hash-verified

691 * await Flight.where("destination", "Paris").delete();
692 */
693 static delete() {
694 return this._runQuery(
695 this._currentQuery.table(this.table).delete().toDescription(),
696 );
697 }
698
699 /** Join a table to the current query.
700 *

Callers 2

deleteByIdMethod · 0.45
response.test.tsFile · 0.45

Calls 5

_runQueryMethod · 0.95
_getCurrentPrimaryKeyMethod · 0.95
toDescriptionMethod · 0.80
tableMethod · 0.80
deleteByIdMethod · 0.80

Tested by

no test coverage detected