Collections functions
Encryption functions
General functions
Render functions
Theme permission functions
Video functions
Resource functions

sql_is_null_or_eq_val()

Description

Query helper function for the WHERE clause to avoid repetitive checks when value might be NULL or an actual value

Parameters

ColumnTypeDefaultDescription
$v string Non-null value
$cond boolean Condition to use IS NULL or to use the escaped value

Return

string

This article was last updated 21st April 2021 18:35 Europe/London time based on the source file dated 20th April 2021 21:30 Europe/London time.