UNPKG

@langchain/community

Version:
1 lines • 1.14 kB
{"version":3,"file":"sqlite_where_builder.d.ts","names":["InStatement","InValue","WhereCondition","Metadata","Record","WhereInStatement","Exclude","SqliteWhereBuilder"],"sources":["../../src/utils/sqlite_where_builder.d.ts"],"sourcesContent":["import { InStatement, InValue } from \"@libsql/client\";\nexport type WhereCondition<Metadata extends Record<string, any> = Record<string, any>> = {\n [Key in keyof Metadata]: {\n operator: \"=\" | \">\" | \"<\" | \">=\" | \"<=\" | \"<>\" | \"LIKE\";\n value: InValue;\n } | {\n operator: \"IN\";\n value: InValue[];\n };\n};\ntype WhereInStatement = Exclude<InStatement, string>;\nexport declare class SqliteWhereBuilder {\n private conditions;\n constructor(conditions: WhereCondition);\n buildWhereClause(): WhereInStatement;\n}\nexport {};\n//# sourceMappingURL=sqlite_where_builder.d.ts.map"],"mappings":";;;KACYE,gCAAgCE,sBAAsBA,uCAChDD;EADND,QAAAA,EAAAA,GAAc,GAAA,GAAAC,GAAAA,GAAAA,GAAAA,IAAAA,GAAA,IAAA,GAAA,IAAA,GAAA,MAAA;EAAkBC,KAAAA,EAG7BH,OAH6BG;AAAsBA,CAAAA,GAAAA;EAChDD,QAAAA,EAAAA,IAAAA;EAEHF,KAAAA,EAGAA,OAHAA,EAAAA;AAGAA,CAAAA,EAAO"}