query_script_pass

pass: a do-nothing statement.

SYNOPSIS

if (expression)
  pass
else {
  statement;
}

DESCRIPTION

pass is a QueryScript statement which does nothing. It can be used as a placeholder for empty statements.

QueryScript does not allow an empty statement (the standalone semicolon ; character). The programmer may choose to use the pass statement:

while (delete from world.City limit 10)
  pass;
Alternatively, the programmer may use an empty block as in the following:
while (delete from world.City limit 10)
{
}
The pass statement serves as a convenience statement.

pass accepts no arguments.

SEE ALSO

Statements

AUTHOR

Shlomi Noach
 
common_schema documentation