v5:reference:connection:autoexecute
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| v5:reference:connection:autoexecute [2021/01/25 03:04] – mnewnham | v5:reference:connection:autoexecute [2026/03/11 11:53] (current) – [Description] formatting dregad | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== autoExecute ====== | ====== autoExecute ====== | ||
| - | <WRAP info> | + | |
| - | autoExecute is designed to provide a robust simple interface to record updating and insertion. As such, it contains multiple layers of table, column and data validation to ensure data integrity prior to record insertion or update. Consequently, | + | |
| - | </ | + | |
| ~~NOTOC~~ | ~~NOTOC~~ | ||
| + | |||
| <WRAP right box> | <WRAP right box> | ||
| == See Also == | == See Also == | ||
| [[v5: | [[v5: | ||
| == Syntax == | == Syntax == | ||
| - | | + | |
| | | ||
| | | ||
| Line 15: | Line 14: | ||
| | | ||
| ) | ) | ||
| - | |||
| </ | </ | ||
| ===== Description ===== | ===== Description ===== | ||
| - | The function '' | ||
| - | autoExecute() inserts or updates **$table** given an array of **$arrFields**, | + | The '' |
| + | |||
| + | autoExecute() inserts or updates **$table** given an array of **$arrFields**, | ||
| + | |||
| + | Until 5.22, the function returned a boolean value, with //true// indicating success and // | ||
| + | |||
| + | <WRAP info> | ||
| + | autoExecute() is designed to provide a simple and robust interface to record updating and insertion. As such, it contains multiple layers of table, column and data validation to ensure data integrity; in particular, | ||
| + | </ | ||
| ==== $table ==== | ==== $table ==== | ||
| Line 47: | Line 53: | ||
| ==== Usage ==== | ==== Usage ==== | ||
| - | + | <code php> | |
| - | autoExecute($table, | + | autoExecute($table, |
| + | </ | ||
| === Insert example === | === Insert example === | ||
v5/reference/connection/autoexecute.1611540293.txt.gz · Last modified: by mnewnham
