We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 472e913 commit 1307265Copy full SHA for 1307265
packages/electric-db-collection/src/sql-compiler.ts
@@ -1,14 +1,12 @@
1
import { serialize } from "./pg-serializer"
2
-import type { ExternalSubsetParamsRecord } from "@electric-sql/client"
+import type { SubsetParams } from "@electric-sql/client"
3
import type { IR, OnLoadMoreOptions } from "@tanstack/db"
4
5
-export type CompiledSqlRecord = Omit<ExternalSubsetParamsRecord, `params`> & {
+export type CompiledSqlRecord = Omit<SubsetParams, `params`> & {
6
params?: Array<unknown>
7
}
8
9
-export function compileSQL<T>(
10
- options: OnLoadMoreOptions
11
-): ExternalSubsetParamsRecord {
+export function compileSQL<T>(options: OnLoadMoreOptions): SubsetParams {
12
const { where, orderBy, limit } = options
13
14
const params: Array<T> = []
0 commit comments