SimpleMatches method

Applies to
TQDB

Declaration
function SimpleMatches(key: TKey; pattern: TKey): boolean;

Description
The SimpleMatches method implements the simple QDB pattern-matching protocol. It is a protected method that cannot be called directly by your programs but can be overridden if you wish to implement a more sophisticated scheme.

Be aware, however, that pattern-matching via the Filter property already incurs quite an overhead -- one you may not want to increase with a complex matching routine.

If you override SimpleMatches you should also override SetMatchChars.