dbExec
Client-side
Server-side
Shared
This page is incomplete! Help wanted!
Please finish this page using the corresponding Old Wiki article.
Go to Contribution guidelines for more information.
This function executes a database query using the supplied connection. No query result is returned.
Tip
The server command debugdb 2 will output verbose information on each query to a logging file (usually logs/db.log )
Syntax
dbExec ( )Code Examples
server
This example executes an INSERT query:
dbExec( connection, "INSERT INTO table_name VALUES (?,?,?)", "aaa", "bbb", 10 )