@wxn0brp/db-core
    Preparing search index...

    Type Alias StringOperators<T>

    String Operators with nested support

    type StringOperators<T = any> = {
        $endsWith?: NestedValue<T, string, string>;
        $regex?: NestedValue<T, RegExp | string, string>;
        $startsWith?: NestedValue<T, string, string>;
    }

    Type Parameters

    • T = any
    Index

    Properties

    $endsWith?: NestedValue<T, string, string>

    "John" ends with "hn"

    $regex?: NestedValue<T, RegExp | string, string>

    "John" matches /oh/

    $startsWith?: NestedValue<T, string, string>

    "John" starts with "Jo"