@sidekick-coder/db
Version:
Cli Tool to manipulate data from diferent sources
18 lines (15 loc) • 455 B
text/typescript
import { c as Where } from '../../create-CvQA0V_2.cjs';
import 'valibot';
import '../filesystem/types.cjs';
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 };