From OpenSCADAWiki
Jump to: navigation, search

DB: SQL request (dbReqSQL)

Description: Formation of the SQL-request req to the DB addr, inside (trans=true), outside (trans=false) or no matter (trans=EVAL) to a transaction. At an error the result's property "err" sets to the error value.
Parameters:

Identifier Name Type Mode By defaults
rez Result Object(Array) Return
addr DB address, "{TypeDB}.{DB}" String Input
req SQL request String Input
trans Transaction Boolean Input EVAL