Commit 72d5ef9d authored by Philipp Gröbelbauer's avatar Philipp Gröbelbauer
Browse files

added missing 'FROM' in typeAheadSql example

parent c773dbb8
Pipeline #3298 passed with stages
in 4 minutes and 50 seconds
...@@ -3540,7 +3540,7 @@ SQL ...@@ -3540,7 +3540,7 @@ SQL
   
* *FormElement.parameter*: * *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 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`. * If there is no column `id` or no column `value`, then the first column becomes `id` and the second column becomes `value`.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment