Skip to content
Snippets Groups Projects
Commit 72d5ef9d authored by Philipp Gröbelbauer's avatar Philipp Gröbelbauer
Browse files

added missing 'FROM' in typeAheadSql example

parent c773dbb8
No related branches found
No related tags found
2 merge requests!262Develop,!260F9686 - partly revert download filename sanitize
Pipeline #3298 passed
......@@ -3540,7 +3540,7 @@ SQL
 
* *FormElement.parameter*:
 
* *typeAheadSql* = `SELECT ... AS 'id', ... AS 'value' WHERE name LIKE ? OR firstName LIKE ? LIMIT 100`
* *typeAheadSql* = `SELECT ... AS 'id', ... AS 'value' FROM ... WHERE name LIKE ? OR firstName LIKE ? LIMIT 100`
 
* If there is only one column in the SELECT statement, that one will be used and there is no dict (key/value pair).
* If there is no column `id` or no column `value`, then the first column becomes `id` and the second column becomes `value`.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment