Skip to content

NovaStar Database Reference / Functions / data_isvalid


Overview

The data_isvalid function checks if the flag V 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_isvalid function syntax is as follows.

data_isvalid(
  IN flags text)

The function returns a boolean - true if V 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) V1, the following call would return true:

select * from data_isvalid('V1');

Troubleshooting

See Also

  • data_isflag - Function called internally for the check.