@sidekick-coder/db
Version:
Cli Tool to manipulate data from diferent sources
18 lines (15 loc) • 453 B
TypeScript
import { c as Where } from '../../create-BARQbeYV.js';
import 'valibot';
import '../filesystem/types.js';
interface Options {
where?: Where;
include?: string[];
exclude?: string[];
limit?: number;
offset?: number;
sortBy?: string[];
sortDesc?: boolean[];
}
declare function query(data: any[], options?: Options): any[];
declare function count(data: any[], options: Pick<Options, 'where'>): number;
export { count, query };