QueryPrepend
Adds a query to the beginning of another query
Method Signature
QueryPrepend(query1=[query], query2=[query])Arguments
Argument
Type
Required
Description
Default
query1
query
true
query2
query
true
Examples
Builds a simple query using queryNew and queryPrepend
Add new query to the end of the current query using queryPrepend.
names = queryNew( "empl_id,name", "integer,varchar", [
[
"empl_id" : 1239,
"name" : "John"
]
] );
newnames = queryNew( "empl_id,name", "integer,varchar", [
[
"empl_id" : 1501,
"name" : "Jane"
]
] );
queryPrepend( names, newnames );
writeDump( names );
Additional Examples
Related
Last updated
Was this helpful?
