@rocketflare/houston-otel 0.0.0-stage → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +172 -2
- package/dist/attributes.d.ts +16 -0
- package/dist/attributes.js +133 -0
- package/dist/genai.d.ts +97 -0
- package/dist/genai.js +200 -0
- package/dist/hono.d.ts +24 -0
- package/dist/hono.js +80 -0
- package/dist/houston.d.ts +124 -0
- package/dist/houston.js +353 -0
- package/dist/http.d.ts +8 -0
- package/dist/http.js +35 -0
- package/dist/ids.d.ts +17 -0
- package/dist/ids.js +35 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.js +7 -0
- package/dist/invocations.d.ts +56 -0
- package/dist/invocations.js +132 -0
- package/dist/otlp.d.ts +127 -0
- package/dist/otlp.js +83 -0
- package/dist/pino.d.ts +38 -0
- package/dist/pino.js +104 -0
- package/dist/sql-text.d.ts +25 -0
- package/dist/sql-text.js +297 -0
- package/dist/sql.d.ts +95 -0
- package/dist/sql.js +425 -0
- package/package.json +75 -4
package/dist/sql-text.js
ADDED
|
@@ -0,0 +1,297 @@
|
|
|
1
|
+
// Reading SQL text cheaply, without a parser: one pass of a small tokenizer that knows strings (`'…'`, `E'…'`,
|
|
2
|
+
// `$tag$…$tag$`), quoted identifiers, comments, numbers and `$n` placeholders. `redactSql` drops every literal,
|
|
3
|
+
// `summarizeSql` says what a statement is, `redactErrorMessage` drops the values a database error quotes.
|
|
4
|
+
/** Past this many characters nothing more is read: the text is capped long before it. */
|
|
5
|
+
const SCAN_LIMIT = 65_536;
|
|
6
|
+
const isSpace = (c) => c === ' ' || c === '\n' || c === '\t' || c === '\r' || c === '\f';
|
|
7
|
+
const isDigit = (c) => c >= '0' && c <= '9';
|
|
8
|
+
const isWordStart = (c) => (c >= 'a' && c <= 'z') || (c >= 'A' && c <= 'Z') || c === '_' || c > '\u007f';
|
|
9
|
+
const isWordPart = (c) => isWordStart(c) || isDigit(c) || c === '$';
|
|
10
|
+
/** Where a quoted run that opened at `start` (on `quote`) ends, one past the closing quote. */
|
|
11
|
+
function quotedEnd(text, start, quote, backslash) {
|
|
12
|
+
let i = start + 1;
|
|
13
|
+
while (i < text.length) {
|
|
14
|
+
const c = text[i];
|
|
15
|
+
if (backslash && c === '\\') {
|
|
16
|
+
i += 2;
|
|
17
|
+
continue;
|
|
18
|
+
}
|
|
19
|
+
if (c === quote) {
|
|
20
|
+
if (text[i + 1] === quote) {
|
|
21
|
+
i += 2;
|
|
22
|
+
continue;
|
|
23
|
+
}
|
|
24
|
+
return i + 1;
|
|
25
|
+
}
|
|
26
|
+
i++;
|
|
27
|
+
}
|
|
28
|
+
return text.length;
|
|
29
|
+
}
|
|
30
|
+
const DOLLAR_TAG = /\$(?:[A-Za-z_\u0080-\uffff][\w\u0080-\uffff]*)?\$/y;
|
|
31
|
+
/**
|
|
32
|
+
* Walk `text`, calling `onToken` for every token and `onSpace` between tokens that had
|
|
33
|
+
* whitespace or a comment between them. `onToken` returning false stops the walk.
|
|
34
|
+
*/
|
|
35
|
+
function scan(text, onToken, onSpace) {
|
|
36
|
+
const end = Math.min(text.length, SCAN_LIMIT);
|
|
37
|
+
let i = 0;
|
|
38
|
+
let spaced = false;
|
|
39
|
+
const emit = (type, value, from, to) => {
|
|
40
|
+
if (spaced)
|
|
41
|
+
onSpace();
|
|
42
|
+
spaced = false;
|
|
43
|
+
return onToken({ type, value }, text.slice(from, to));
|
|
44
|
+
};
|
|
45
|
+
while (i < end) {
|
|
46
|
+
const c = text[i];
|
|
47
|
+
if (isSpace(c)) {
|
|
48
|
+
spaced = true;
|
|
49
|
+
i++;
|
|
50
|
+
continue;
|
|
51
|
+
}
|
|
52
|
+
if (c === '-' && text[i + 1] === '-') {
|
|
53
|
+
const nl = text.indexOf('\n', i);
|
|
54
|
+
i = nl === -1 ? text.length : nl + 1;
|
|
55
|
+
spaced = true;
|
|
56
|
+
continue;
|
|
57
|
+
}
|
|
58
|
+
if (c === '/' && text[i + 1] === '*') {
|
|
59
|
+
const close = text.indexOf('*/', i + 2);
|
|
60
|
+
i = close === -1 ? text.length : close + 2;
|
|
61
|
+
spaced = true;
|
|
62
|
+
continue;
|
|
63
|
+
}
|
|
64
|
+
if (c === "'") {
|
|
65
|
+
const to = quotedEnd(text, i, "'", false);
|
|
66
|
+
if (!emit('string', text.slice(i + 1, to - 1), i, to))
|
|
67
|
+
return;
|
|
68
|
+
i = to;
|
|
69
|
+
continue;
|
|
70
|
+
}
|
|
71
|
+
if (c === '"') {
|
|
72
|
+
const to = quotedEnd(text, i, '"', false);
|
|
73
|
+
if (!emit('ident', text.slice(i + 1, to - 1).replaceAll('""', '"'), i, to))
|
|
74
|
+
return;
|
|
75
|
+
i = to;
|
|
76
|
+
continue;
|
|
77
|
+
}
|
|
78
|
+
if (c === '$') {
|
|
79
|
+
if (isDigit(text[i + 1] ?? '')) {
|
|
80
|
+
let to = i + 1;
|
|
81
|
+
while (to < text.length && isDigit(text[to]))
|
|
82
|
+
to++;
|
|
83
|
+
if (!emit('param', text.slice(i, to), i, to))
|
|
84
|
+
return;
|
|
85
|
+
i = to;
|
|
86
|
+
continue;
|
|
87
|
+
}
|
|
88
|
+
DOLLAR_TAG.lastIndex = i;
|
|
89
|
+
const tag = DOLLAR_TAG.exec(text)?.[0];
|
|
90
|
+
if (tag) {
|
|
91
|
+
const close = text.indexOf(tag, i + tag.length);
|
|
92
|
+
const to = close === -1 ? text.length : close + tag.length;
|
|
93
|
+
if (!emit('string', text.slice(i + tag.length, close === -1 ? to : close), i, to))
|
|
94
|
+
return;
|
|
95
|
+
i = to;
|
|
96
|
+
continue;
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
if (isDigit(c) || (c === '.' && isDigit(text[i + 1] ?? ''))) {
|
|
100
|
+
let to = i;
|
|
101
|
+
while (to < text.length && (isDigit(text[to]) || text[to] === '.'))
|
|
102
|
+
to++;
|
|
103
|
+
if ((text[to] === 'e' || text[to] === 'E') && /[-+\d]/.test(text[to + 1] ?? '')) {
|
|
104
|
+
to += 2;
|
|
105
|
+
while (to < text.length && isDigit(text[to]))
|
|
106
|
+
to++;
|
|
107
|
+
}
|
|
108
|
+
if (!emit('number', text.slice(i, to), i, to))
|
|
109
|
+
return;
|
|
110
|
+
i = to;
|
|
111
|
+
continue;
|
|
112
|
+
}
|
|
113
|
+
if (isWordStart(c)) {
|
|
114
|
+
let to = i + 1;
|
|
115
|
+
while (to < text.length && isWordPart(text[to]))
|
|
116
|
+
to++;
|
|
117
|
+
const word = text.slice(i, to);
|
|
118
|
+
// A prefixed string: E'…' (backslash escapes), B'…', X'…', N'…', U&'…'.
|
|
119
|
+
if (text[to] === "'" && /^(?:[EeBbXxNn])$/.test(word)) {
|
|
120
|
+
const close = quotedEnd(text, to, "'", word === 'E' || word === 'e');
|
|
121
|
+
if (!emit('string', text.slice(to + 1, close - 1), i, close))
|
|
122
|
+
return;
|
|
123
|
+
i = close;
|
|
124
|
+
continue;
|
|
125
|
+
}
|
|
126
|
+
if (!emit('word', word, i, to))
|
|
127
|
+
return;
|
|
128
|
+
i = to;
|
|
129
|
+
continue;
|
|
130
|
+
}
|
|
131
|
+
if (!emit('punct', c, i, i + 1))
|
|
132
|
+
return;
|
|
133
|
+
i++;
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
/**
|
|
137
|
+
* `text` with every literal replaced by `?` and comments dropped, at most `max` characters
|
|
138
|
+
* (an ellipsis marks a cut). Placeholders (`$1`), identifiers, keywords and operators stay.
|
|
139
|
+
*/
|
|
140
|
+
export function redactSql(text, max = Number.POSITIVE_INFINITY) {
|
|
141
|
+
let out = '';
|
|
142
|
+
let full = false;
|
|
143
|
+
scan(text, (token, raw) => {
|
|
144
|
+
out += token.type === 'string' || token.type === 'number' ? '?' : raw;
|
|
145
|
+
if (out.length > max)
|
|
146
|
+
full = true;
|
|
147
|
+
return !full;
|
|
148
|
+
}, () => {
|
|
149
|
+
if (out.length > 0)
|
|
150
|
+
out += ' ';
|
|
151
|
+
});
|
|
152
|
+
return full ? `${out.slice(0, Math.max(0, max - 1))}…` : out;
|
|
153
|
+
}
|
|
154
|
+
const TRANSACTION_CONTROL = new Set([
|
|
155
|
+
'BEGIN',
|
|
156
|
+
'START',
|
|
157
|
+
'COMMIT',
|
|
158
|
+
'END',
|
|
159
|
+
'ROLLBACK',
|
|
160
|
+
'ABORT',
|
|
161
|
+
'SAVEPOINT',
|
|
162
|
+
'RELEASE',
|
|
163
|
+
]);
|
|
164
|
+
const MAIN_OPERATIONS = new Set(['SELECT', 'INSERT', 'UPDATE', 'DELETE', 'MERGE']);
|
|
165
|
+
/** Which keyword introduces the target table of each operation. */
|
|
166
|
+
const TARGET_AFTER = {
|
|
167
|
+
SELECT: 'FROM',
|
|
168
|
+
DELETE: 'FROM',
|
|
169
|
+
INSERT: 'INTO',
|
|
170
|
+
MERGE: 'INTO',
|
|
171
|
+
};
|
|
172
|
+
/** The operation, the first table it names, or what kind of non-statement it is. */
|
|
173
|
+
export function summarizeSql(text) {
|
|
174
|
+
let first;
|
|
175
|
+
let operation;
|
|
176
|
+
let depth = 0;
|
|
177
|
+
let wantTarget = false;
|
|
178
|
+
let name;
|
|
179
|
+
let dotted = false;
|
|
180
|
+
let setting;
|
|
181
|
+
let result;
|
|
182
|
+
scan(text, token => {
|
|
183
|
+
const upper = token.type === 'word' ? token.value.toUpperCase() : '';
|
|
184
|
+
if (first === undefined) {
|
|
185
|
+
if (token.type !== 'word') {
|
|
186
|
+
result = { kind: 'statement' };
|
|
187
|
+
return false;
|
|
188
|
+
}
|
|
189
|
+
first = upper;
|
|
190
|
+
if (TRANSACTION_CONTROL.has(first)) {
|
|
191
|
+
result = { kind: 'transaction' };
|
|
192
|
+
return false;
|
|
193
|
+
}
|
|
194
|
+
if (first === 'SET' || first === 'RESET')
|
|
195
|
+
setting = 'set';
|
|
196
|
+
else if (first !== 'WITH') {
|
|
197
|
+
operation = first;
|
|
198
|
+
wantTarget = first === 'UPDATE' || first === 'TRUNCATE';
|
|
199
|
+
}
|
|
200
|
+
return true;
|
|
201
|
+
}
|
|
202
|
+
if (setting === 'set') {
|
|
203
|
+
// SET [LOCAL | SESSION] name …; RESET name
|
|
204
|
+
const part = token.type === 'word' || token.type === 'ident';
|
|
205
|
+
if (!name && (upper === 'LOCAL' || upper === 'SESSION'))
|
|
206
|
+
return true;
|
|
207
|
+
if (part && (!name || dotted)) {
|
|
208
|
+
name = [...(name ?? []), token.value];
|
|
209
|
+
dotted = false;
|
|
210
|
+
return true;
|
|
211
|
+
}
|
|
212
|
+
if (name && !dotted && token.value === '.') {
|
|
213
|
+
dotted = true;
|
|
214
|
+
return true;
|
|
215
|
+
}
|
|
216
|
+
result = { kind: 'setting', name: name?.join('.') };
|
|
217
|
+
return false;
|
|
218
|
+
}
|
|
219
|
+
if (setting === 'set_config') {
|
|
220
|
+
setting = token.value === '(' ? 'set_config_open' : undefined;
|
|
221
|
+
if (setting)
|
|
222
|
+
return true;
|
|
223
|
+
}
|
|
224
|
+
if (setting === 'set_config_open') {
|
|
225
|
+
result = { kind: 'setting', name: token.type === 'string' ? token.value : undefined };
|
|
226
|
+
return false;
|
|
227
|
+
}
|
|
228
|
+
if (operation === 'SELECT' && name === undefined && !wantTarget && upper === 'SET_CONFIG') {
|
|
229
|
+
setting = 'set_config';
|
|
230
|
+
return true;
|
|
231
|
+
}
|
|
232
|
+
if (name !== undefined) {
|
|
233
|
+
// Reading a dotted name: `"public"."orders"`, `orders`.
|
|
234
|
+
if (dotted && (token.type === 'word' || token.type === 'ident')) {
|
|
235
|
+
name.push(token.value);
|
|
236
|
+
dotted = false;
|
|
237
|
+
return true;
|
|
238
|
+
}
|
|
239
|
+
if (!dotted && token.value === '.') {
|
|
240
|
+
dotted = true;
|
|
241
|
+
return true;
|
|
242
|
+
}
|
|
243
|
+
return false;
|
|
244
|
+
}
|
|
245
|
+
if (token.value === '(')
|
|
246
|
+
depth++;
|
|
247
|
+
else if (token.value === ')')
|
|
248
|
+
depth = Math.max(0, depth - 1);
|
|
249
|
+
if (depth > 0)
|
|
250
|
+
return true;
|
|
251
|
+
if (operation === undefined) {
|
|
252
|
+
// After WITH: the statement's own operation is the first one at depth 0.
|
|
253
|
+
if (MAIN_OPERATIONS.has(upper)) {
|
|
254
|
+
operation = upper;
|
|
255
|
+
wantTarget = upper === 'UPDATE';
|
|
256
|
+
}
|
|
257
|
+
return true;
|
|
258
|
+
}
|
|
259
|
+
if (wantTarget) {
|
|
260
|
+
if (upper === 'ONLY' || upper === 'TABLE')
|
|
261
|
+
return true;
|
|
262
|
+
if (token.type === 'word' || token.type === 'ident') {
|
|
263
|
+
name = [token.value];
|
|
264
|
+
return true;
|
|
265
|
+
}
|
|
266
|
+
return false;
|
|
267
|
+
}
|
|
268
|
+
const after = TARGET_AFTER[operation];
|
|
269
|
+
if (!after)
|
|
270
|
+
return false;
|
|
271
|
+
if (upper === after)
|
|
272
|
+
wantTarget = true;
|
|
273
|
+
return true;
|
|
274
|
+
}, () => { });
|
|
275
|
+
if (result)
|
|
276
|
+
return result;
|
|
277
|
+
if (setting)
|
|
278
|
+
return { kind: 'setting', name: name?.join('.') };
|
|
279
|
+
return {
|
|
280
|
+
kind: 'statement',
|
|
281
|
+
operation,
|
|
282
|
+
...(name && name.length > 0 && { collection: name.join('.') }),
|
|
283
|
+
};
|
|
284
|
+
}
|
|
285
|
+
/**
|
|
286
|
+
* A database error's message with the values it may quote removed: every single-quoted run, a
|
|
287
|
+
* double-quoted run after a colon (`invalid input syntax for type uuid: "…"`), and anything from
|
|
288
|
+
* a `params:` line on (an ORM's wrapper may append the bound values). Identifiers in double
|
|
289
|
+
* quotes elsewhere (`relation "orders" does not exist`) stay.
|
|
290
|
+
*/
|
|
291
|
+
export function redactErrorMessage(message, max = 500) {
|
|
292
|
+
let out = message.split(/\r?\n\s*params:/)[0];
|
|
293
|
+
out = out.split(/\r?\n/)[0];
|
|
294
|
+
out = out.replace(/'(?:[^']|'')*'/g, '?');
|
|
295
|
+
out = out.replace(/:\s*"(?:[^"]|"")*"/g, ': ?');
|
|
296
|
+
return out.length > max ? `${out.slice(0, max - 1)}…` : out;
|
|
297
|
+
}
|
package/dist/sql.d.ts
ADDED
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import type { Houston } from './houston.js';
|
|
2
|
+
export { redactErrorMessage, redactSql, type SqlSummary, summarizeSql } from './sql-text.js';
|
|
3
|
+
/** How statements are described. Every adapter and helper takes these. */
|
|
4
|
+
export interface SqlOptions {
|
|
5
|
+
/** `db.system.name`. Default `postgresql`. */
|
|
6
|
+
system?: string;
|
|
7
|
+
/** `server.address`, a host name only (`serverAddressOf(url)` reads one). Adapters read it off the client when they can. */
|
|
8
|
+
serverAddress?: string;
|
|
9
|
+
/** Send `db.query.text` (redacted and capped). Default: the Houston's `dbQueryText` (`HOUSTON_DB_QUERY_TEXT`), else true. */
|
|
10
|
+
queryText?: boolean;
|
|
11
|
+
/** The cap on `db.query.text`, in characters. Default 2048. */
|
|
12
|
+
maxQueryTextLength?: number;
|
|
13
|
+
/**
|
|
14
|
+
* Settings (`SET`, `RESET`, `select set_config('name', …)`): `fold` (default) gives them no span and puts
|
|
15
|
+
* their names (never values) in `db.transaction.settings` on the enclosing transaction span, or else in
|
|
16
|
+
* `db.settings` on the next statement's span; `skip` drops them; `span` traces them like any statement.
|
|
17
|
+
*/
|
|
18
|
+
noise?: 'fold' | 'skip' | 'span';
|
|
19
|
+
}
|
|
20
|
+
/** One statement for `traceQuery`. */
|
|
21
|
+
export interface SqlQuery extends SqlOptions {
|
|
22
|
+
/** The SQL as sent, with placeholders (`$1`). Never pass the parameter values. */
|
|
23
|
+
text: string;
|
|
24
|
+
}
|
|
25
|
+
/** Default cap on `db.query.text`. */
|
|
26
|
+
export declare const DEFAULT_MAX_QUERY_TEXT = 2048;
|
|
27
|
+
/** The host of a connection URL, never its credentials, path or query; undefined if it doesn't parse. */
|
|
28
|
+
export declare function serverAddressOf(url: string | undefined): string | undefined;
|
|
29
|
+
/** The SQLSTATE and a value-free message of a database error, read down its `cause` chain. */
|
|
30
|
+
export declare function dbErrorAttributes(error: unknown): {
|
|
31
|
+
code?: string;
|
|
32
|
+
type: string;
|
|
33
|
+
message: string;
|
|
34
|
+
};
|
|
35
|
+
/**
|
|
36
|
+
* Run one statement under a CLIENT span named `<operation> <table>`, a child of the active span. `run` is
|
|
37
|
+
* called exactly once; without houston or an active span it simply runs. For drivers the adapters don't cover.
|
|
38
|
+
*/
|
|
39
|
+
export declare function traceQuery<T>(houston: Houston, query: SqlQuery, run: () => T | PromiseLike<T>): Promise<Awaited<T>>;
|
|
40
|
+
/**
|
|
41
|
+
* Run `run` (a whole transaction) under one `transaction` span, active for its statements; settings inside it
|
|
42
|
+
* are folded onto it. A throw marks it ERROR and is rethrown. No span without houston or an active span.
|
|
43
|
+
*/
|
|
44
|
+
export declare function traceTransaction<T>(houston: Houston, run: () => Promise<T> | T, options?: SqlOptions): Promise<T>;
|
|
45
|
+
type Fn = (...args: never[]) => unknown;
|
|
46
|
+
/** What `instrumentPostgresJs` uses of a postgres.js `sql`. */
|
|
47
|
+
export interface PostgresJsLike {
|
|
48
|
+
unsafe: Fn;
|
|
49
|
+
begin?: Fn;
|
|
50
|
+
savepoint?: Fn;
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* postgres.js (`postgres(url)`): `sql.unsafe` (what drizzle runs every statement through) and the handles that
|
|
54
|
+
* `begin` and `savepoint` give their callbacks; `begin` is one `transaction` span. Mutates and returns `sql`.
|
|
55
|
+
* Tagged-template calls (`` sql`…` ``) are not traced.
|
|
56
|
+
*/
|
|
57
|
+
export declare function instrumentPostgresJs<S extends PostgresJsLike>(houston: Houston, sql: S, options?: SqlOptions): S;
|
|
58
|
+
/** What `instrumentNeonHttp` uses of the `neon(url)` function. */
|
|
59
|
+
export interface NeonHttpLike {
|
|
60
|
+
query: Fn;
|
|
61
|
+
transaction?: Fn;
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* The `@neondatabase/serverless` HTTP function (`neon(url)`): its `query(text, params, opts)`, which drizzle's
|
|
65
|
+
* neon-http driver calls, and `transaction([...])`, one `transaction` span with `db.operation.batch.size`
|
|
66
|
+
* (drizzle's `db.batch`). Patch it before handing it to drizzle, which reads `query` once. Mutates and returns
|
|
67
|
+
* `sql`. Tagged-template calls (`` sql`…` ``) are not traced.
|
|
68
|
+
*/
|
|
69
|
+
export declare function instrumentNeonHttp<S extends NeonHttpLike>(houston: Houston, sql: S, options?: SqlOptions): S;
|
|
70
|
+
/** What the pg adapters use of a `pg`-compatible client or pool. */
|
|
71
|
+
export interface PgQueryable {
|
|
72
|
+
query: Fn;
|
|
73
|
+
}
|
|
74
|
+
/** A `pg`-compatible pool: it says when it opens a client. */
|
|
75
|
+
export interface PgPoolLike extends PgQueryable {
|
|
76
|
+
on(event: 'connect', listener: (client: PgQueryable) => void): unknown;
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* A `pg`-compatible client (`@neondatabase/serverless`'s `Client`, node-postgres): `client.query`, with
|
|
80
|
+
* `BEGIN` … `COMMIT` as one `transaction` span. Mutates and returns `client`.
|
|
81
|
+
*/
|
|
82
|
+
export declare function instrumentPgClient<C extends PgQueryable>(houston: Houston, client: C, options?: SqlOptions): C;
|
|
83
|
+
/**
|
|
84
|
+
* A `pg`-compatible pool (`@neondatabase/serverless`'s `Pool`, what drizzle's neon-serverless driver takes):
|
|
85
|
+
* `pool.query` and every client it opens (`pool.connect()`, where interactive transactions run). Mutates and
|
|
86
|
+
* returns `pool`.
|
|
87
|
+
*/
|
|
88
|
+
export declare function instrumentPgPool<P extends PgPoolLike>(houston: Houston, pool: P, options?: SqlOptions): P;
|
|
89
|
+
/**
|
|
90
|
+
* `db.transaction(fn, …)` (an ORM's, for drivers the adapters don't cover) as one `transaction` span its
|
|
91
|
+
* statements nest under. The adapters' own transaction spans join it rather than nest. Mutates and returns `db`.
|
|
92
|
+
*/
|
|
93
|
+
export declare function instrumentTransactions<D extends {
|
|
94
|
+
transaction: Fn;
|
|
95
|
+
}>(houston: Houston, db: D, options?: SqlOptions): D;
|