@directus/api
Version:
Directus is a real-time API and App dashboard for managing SQL database content
12 lines (11 loc) • 716 B
TypeScript
import { DatabaseHelper } from '../types.js';
export declare class CapabilitiesHelper extends DatabaseHelper {
supportsColumnPositionInGroupBy(): boolean;
/**
* Indicates if the values within the list of parameters can be safely deduplicated.
* This is useful for databases that do not automatically cast the value for cases when a parameter is referenced multiple times in the query,
* but the targeting type is different. For example when referencing a parameter which a UUID, postgres cannot use the same parameter reference
* to compare it against column of type UUID and at the same time against a column of type a string.
*/
supportsDeduplicationOfParameters(): boolean;
}