Kernel::System::DynamicField::Driver::Role::HasValueType::Select

NAME

Kernel::System::DynamicField::Driver::Role::HasValueType::Select – Role for dynamic field drivers, indicate that the driver handles and stores the values in the keyword-column column.

PUBLIC INTERFACE

Provides and overrides base methods to deal with date-time values.

SearchSQLGet()

Returns the SQL WHERE part that needs to be used to search in a particular dynamic field. The table must already be joined.

    my $SQL = $DynamicField->SearchSQLGet(
        TableAlias => $TableAlias,              # the alias of the already joined dynamic_field_value table to use
        SearchTerm => $SearchTerm,              # What to look for. Placeholders in LIKE searches must be passed as %.
        Operator   => $Operator,                # One of [Equals, Like, GreaterThan, GreaterThanEquals, SmallerThan, SmallerThanEquals]
    );

PRIVATE INTERFACE

_ValueColumn()

Returns the value column/parameter of the driver.

_ValueValidatePrimitive()

Performs the basic validation according to the value type.

Scroll to Top