Hacker News new | ask | show | jobs
by bvrmn 563 days ago
Numbered parameters become fragile quite fast for even simple queries. Basically you couldn't safely use query until carefully revising a template. A template change could potentially break existing queries. It's kinda scary.

If library supports named parameters they should be used by default in examples.

1 comments

Its probably to be consistent across each platform, MySQL doesn't support named queries so they are likely avoiding using them for that reason, either that or the docs are old. :)