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

Method formatFieldToDatabase

lib/model.ts:259–261  ·  view source on GitHub ↗

Format field or an object of fields from client to database.

(field: string | Object)

Source from the content-addressed store, hash-verified

257
258 /** Format field or an object of fields from client to database. */
259 static formatFieldToDatabase(field: string | Object) {
260 return this._formatField(this._fieldMatching.toDatabase, field);
261 }
262
263 /** Format field or an object of fields from database to client. */
264 static formatFieldToClient(field: string | Object) {

Callers 15

createTableMethod · 0.95
_findPrimaryFieldMethod · 0.95
fieldMethod · 0.95
selectMethod · 0.95
createMethod · 0.95
orderByMethod · 0.95
groupByMethod · 0.95
whereMethod · 0.95
updateMethod · 0.95
joinMethod · 0.95
leftOuterJoinMethod · 0.95
leftJoinMethod · 0.95

Calls 1

_formatFieldMethod · 0.95

Tested by

no test coverage detected