Constructor
GomSearchExpressionnew_for_field
Declaration
GomExpression*
gom_search_expression_new_for_field (
const char* field,
const char* query,
GomSearchMode mode
)
Parameters
field-
Type:
const char*The field or member name.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. query-
Type:
const char*The query string.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string. mode-
Type:
GomSearchModeThe search match mode.
Return value
Type: GomSearchExpression
| The caller of the function takes ownership of the data, and is responsible for freeing it. |