v5:reference:connection:execute
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
v5:reference:execute [2016/01/13 02:30] – ↷ Page moved from reference:execute to v5:reference:execute mnewnham | v5:reference:connection:execute [2022/10/29 00:33] – [Parameter 1] removed "array of sql statements" following discussion in #872 dregad | ||
---|---|---|---|
Line 13: | Line 13: | ||
- | The presentation of the returned data can be modified by the variables | + | The presentation of the returned data can be modified by the [[v5:reference: |
===== 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 [[reference: | + | If the execution succeeds, it returns a recordset. This recordset can be used by functions such as [[v5:reference:connection: |
- | if the execution fails, it returns false. You can access errors using [[reference: | + | if the execution fails, it returns false. You can access errors using [[v5:reference:connection: |
==== Usage ==== | ==== Usage ==== | ||
<code php> | <code php> |
v5/reference/connection/execute.txt · Last modified: 2023/01/15 20:32 by mnewnham