@opra/sqb
Version:
Opra SQB adapter package
10 lines (9 loc) • 439 B
TypeScript
import '@opra/core';
import type { SQBAdapter } from '../sqb-adapter.js';
/**
* Prepares the SQB filter based on the provided filters and options.
*
* @param filters - The filter(s) to be applied. Can be a single filter or an array of filters.
* @returns The prepared SQB Expression, or `undefined` if no filters are provided.
*/
export default function prepareFilter(filters: SQBAdapter.FilterInput | SQBAdapter.FilterInput[]): any;