QueryKeyExists
Method Signature
QueryKeyExists(query=[query], key=[string])Arguments
Argument
Type
Required
Description
Default
Examples
Check to see if column exists in Query
news = queryNew( "id,title", "integer,varchar", [
{
"id" : 1,
"title" : "Dewey defeats Truman"
},
{
"id" : 2,
"title" : "Man walks on Moon"
}
] );
writeOutput( news.keyExists( "title" ) );
Additional Examples
Related
Last updated
Was this helpful?
