TenantAtlas/apps/platform/.pnpm-store/v10/files/4b/d4577eeb1a50efdba66968ece0e5b200a951b136a129f2414b22d9d40da0a38f00def19b2ab68c01a7f3a7adf53095b2016c12a45dbea66608b49fe648c544
Ahmed Darrazi 9f74f7a658
Some checks failed
PR Fast Feedback / fast-feedback (pull_request) Failing after 51s
feat: compress governance operator outcomes
2026-04-19 14:15:11 +02:00

35 lines
1.4 KiB
Plaintext

import { entityKind } from "../../entity.js";
import { QueryPromise } from "../../query-promise.js";
import type { RunnableQuery } from "../../runnable-query.js";
import type { PreparedQuery } from "../../session.js";
import type { SQL, SQLWrapper } from "../../sql/sql.js";
import type { SQLiteAsyncDialect } from "../dialect.js";
type SQLiteRawAction = 'all' | 'get' | 'values' | 'run';
export interface SQLiteRawConfig {
action: SQLiteRawAction;
}
export interface SQLiteRaw<TResult> extends QueryPromise<TResult>, RunnableQuery<TResult, 'sqlite'>, SQLWrapper {
}
export declare class SQLiteRaw<TResult> extends QueryPromise<TResult> implements RunnableQuery<TResult, 'sqlite'>, SQLWrapper, PreparedQuery {
execute: () => Promise<TResult>;
private dialect;
private mapBatchResult;
static readonly [entityKind]: string;
readonly _: {
readonly dialect: 'sqlite';
readonly result: TResult;
};
constructor(execute: () => Promise<TResult>,
/** @internal */
getSQL: () => SQL, action: SQLiteRawAction, dialect: SQLiteAsyncDialect, mapBatchResult: (result: unknown) => unknown);
getQuery(): {
method: SQLiteRawAction;
typings?: import("../../sql/sql.js").QueryTypingsValue[];
sql: string;
params: unknown[];
};
mapResult(result: unknown, isFromBatch?: boolean): unknown;
_prepare(): PreparedQuery;
}
export {};