You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current implementation of named-placeholders is flawed. It is assumes that parameter values is known in advance, i.e. the only possible use case is:
@gajus sorry just found time to look at this. I really like your api, need to find a safe way to transition. It's quite likely mysql / mysql2 are the only consumers, so maybe major version + incompatible api change is enough
The current implementation of
named-placeholders
is flawed. It is assumes that parameter values is known in advance, i.e. the only possible use case is:As a result, it is not possible to implement prepared statements using this implementation.
My suggestion is to reimplement
named-placeholders
API as:The text was updated successfully, but these errors were encountered: