Add support for numbered placeholders#725
Conversation
|
Related to #576 Could you add some more tests? What if there are gaps, e.g. See my comment here #576 (comment) |
|
@Prinzhorn I've added a couple of new testcases.
Semantically you should treat numbered placeholders the same as unnamed placeholders (?). It is just a shortcut to reuse the same bind values. For example, |
|
wow, it is still open I need to use the parameter multiple times, and it is a single parameter: It's stupid to wrap it into an object or pass it twice. But currently, I have no choice. |
This PR should add support for numbered placeholders (?1, ?2, ?3).
PS What
lzzis assumed to be used with this project? https://github.com/mjspncr/lzz3? https://github.com/driedfruit/lzz? Probably this info could be added to the readme.