v5:reference:connection:execute
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
v5:reference:execute [2016/01/16 23:05] – ↷ Links adapted because of a move operation mnewnham | v5:reference:connection:execute [2023/01/15 20:32] (current) – mnewnham | ||
---|---|---|---|
Line 10: | Line 10: | ||
===== Description ===== | ===== Description ===== | ||
- | This method executes any provided SQL statement. If the SQL statement should return a recordset, e.g. '' | + | This method executes any provided SQL statement. If the SQL statement should return a recordset, e.g. '' |
- | The presentation of the returned data can be modified by the variables | + | The presentation of the returned data can be modified by the [[v5: |
===== Parameters ===== | ===== Parameters ===== | ||
==== Parameter 1 ==== | ==== Parameter 1 ==== | ||
Line 20: | Line 20: | ||
- A string containing a complete SQL statement. '' | - A string containing a complete SQL statement. '' | ||
- A string containing an SQL statement with bind variables, '' | - A string containing an SQL statement with bind variables, '' | ||
- | - A array of SQL Statements. This is only available to internal functions. | + | |
==== Parameter 2 ==== | ==== Parameter 2 ==== | ||
If set, contains an array of bind variables. | If set, contains an array of bind variables. | ||
==== Result ===== | ==== Result ===== | ||
- | If the execution succeeds, it returns a recordset. This recordset can be used by functions such as [[v5: | + | If the execution succeeds, it returns a recordset. This recordset can be used by functions such as [[v5: |
- | if the execution fails, it returns false. You can access errors using [[v5: | + | if the execution fails, it returns false. You can access errors using [[v5: |
==== Usage ==== | ==== Usage ==== | ||
<code php> | <code php> |
v5/reference/connection/execute.txt · Last modified: 2023/01/15 20:32 by mnewnham