dpiDeqOptions_setCondition

Function dpiDeqOptions_setCondition 

Source
pub unsafe extern "C" fn dpiDeqOptions_setCondition(
    options: *mut dpiDeqOptions,
    value: *const c_char,
    valueLength: u32,
) -> c_int
Expand description

Sets the condition which must be true for messages to be dequeued. The condition must be a valid boolean expression similar to the where clause of a SQL query. The expression can include conditions on message properties, user data properties and PL/SQL or SQL functions. User data properties must be prefixed with tab.user_data as a qualifier to indicate the specific column of the queue table that stores the message payload.

The function returns DPI_SUCCESS for success and DPI_FAILURE for failure.