NovaStar Database Reference / Functions / data_isalarmed
Overview
The data_isalarmed
function checks if the flag A
is in a list of flags (a string).
It is defined in the data_flags.sql
file distributed with the NovaStar installer.
Function Usage
The data_isalarmed
function syntax is as follows.
data_isalarmed(
IN flags text)
The function returns a boolean - true if A
is in flags
.
Function parameters are as follows.
data_select(...)
Function Parameters
Parameter | Description | Default |
---|---|---|
flags |
String containing flags to check - typically the contents of the flags column of a data table. |
For the set of flags (or string) A1
, the following call would return true:
select * from data_isalarmed('A1');
Troubleshooting
See Also
data_isflag
- Function called internally for the check.