TenantAtlas/apps/platform/.pnpm-store/v10/files/8e/f51375ccede33208c6f7a7ef01f54f6c4142410169570acd78de69f08f1a1b94bda8a7b32a5637f1bc0c264275e124c50b2f0852dfa6b9ba33b7f45b0be160
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.cjs";
import { QueryPromise } from "../../query-promise.cjs";
import type { RunnableQuery } from "../../runnable-query.cjs";
import type { PreparedQuery } from "../../session.cjs";
import type { SQL, SQLWrapper } from "../../sql/sql.cjs";
import type { SQLiteAsyncDialect } from "../dialect.cjs";
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.ts").QueryTypingsValue[];
sql: string;
params: unknown[];
};
mapResult(result: unknown, isFromBatch?: boolean): unknown;
_prepare(): PreparedQuery;
}
export {};