Skip to content

Commit

Permalink
Merge pull request #23 from Mikulas/patch-doc-placeholders
Browse files Browse the repository at this point in the history
doc: add array variants of column and table
  • Loading branch information
hrach committed Nov 20, 2015
2 parents 4af087e + 4c0f9c6 commit 939243f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions doc/param-placeholders.texy
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ $connection->query('id = %i AND name IN (%?s, %?s)', 1, NULL, 'foo');

Other available modifiers:

|* `%table` | escapes string as table name
|* `%column` | escapes string as column name
|* `%ex` | expands array as processor arguments
|* `%raw` | inserts string argument as is
|* `%table`, `%table[]` | escapes string as table name
|* `%column`, `%column[]` | escapes string as column name
|* `%ex` | expands array as processor arguments
|* `%raw` | inserts string argument as is

`%ex` modifier expands passed array as arguments of new `query()` method call.

Expand Down

0 comments on commit 939243f

Please sign in to comment.