MCPcopy Create free account
hub / github.com/denodrivers/postgres / QueryOptions

Interface QueryOptions

query/query.ts:119–130  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

117
118/** Types of options */
119export interface QueryOptions {
120 /** The arguments to be passed to the query */
121 args?: QueryArguments;
122 /** A custom function to override the encoding logic of the arguments passed to the query */
123 encoder?: (arg: unknown) => EncodedArg;
124 /**The name of the query statement */
125 name?: string;
126 // TODO
127 // Rename to query
128 /** The query statement to be executed */
129 text: string;
130}
131
132/** Options to control the behavior of a Query instance */
133export interface QueryObjectOptions extends QueryOptions {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected