/** Configuration info to be passed to the {@link LocalQueryComparisonOptions} constructor. */ export interface LocalQueryComparisonOptionsConfig { /** The name of this collection of configuration settings. */ name?: string; /** Whether predicates that involve strings will be interpreted in a "caseSensitive" manner. Default is 'false'. */ isCaseSensitive?: boolean; /** Whether or not to enforce the ANSI SQL standard of padding strings of unequal lengths before comparison with spaces. Note that per the standard, padding only occurs with equality and inequality predicates, and not with operations like 'startsWith', 'endsWith' or 'contains'. Default is true. */ usesSql92CompliantStringComparison?: boolean; } /** A LocalQueryComparisonOptions instance is used to specify the "comparison rules" used when performing "local queries" in order to match the semantics of these same queries when executed against a remote service. These options should be set based on the manner in which your remote service interprets certain comparison operations. The default LocalQueryComparisonOptions stipulates 'caseInsensitive" queries with ANSI SQL rules regarding comparisons of unequal length strings. */ export declare class LocalQueryComparisonOptions { /** The name for this instance. */ name: string; /** Whether predicates that involve strings will be interpreted in a "caseSensitive" manner. (default = false). */ isCaseSensitive: boolean; /** Whether `==` and `!=` comparisons of strings ignore leading and trailing spaces, to match a SQL server's comparison of strings of unequal length. `startsWith`, `endsWith` and `contains` are unaffected. (default = true). */ usesSql92CompliantStringComparison: boolean; /** LocalQueryComparisonOptions constructor ```ts // create a 'caseSensitive - non SQL' instance. var lqco = new LocalQueryComparisonOptions({ name: "caseSensitive-nonSQL" isCaseSensitive: true; usesSql92CompliantStringComparison: false; }); // either apply it globally lqco.setAsDefault(); // or to a specific MetadataStore var ms = new MetadataStore({ localQueryComparisonOptions: lqco }); var em = new EntityManager( { metadataStore: ms }); ``` @param lqcoConfig - A configuration object. */ constructor(lqcoConfig: LocalQueryComparisonOptionsConfig); /** Case insensitive SQL compliant options - this is also the default unless otherwise changed. */ static caseInsensitiveSQL: LocalQueryComparisonOptions; /** The default value whenever LocalQueryComparisonOptions are not specified. By default this is 'caseInsensitiveSQL'. */ static defaultInstance: LocalQueryComparisonOptions; /** Sets the 'defaultInstance' by creating a copy of the current 'defaultInstance' and then applying all of the properties of the current instance. The current instance is returned unchanged. ```ts var lqco = new LocalQueryComparisonOptions({ isCaseSensitive: false; usesSql92CompliantStringComparison: true; }); lqco.setAsDefault(); ``` */ setAsDefault(): any; }