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
Currently the calls format('?', 'test') and format('?', ['test']) appear to give the exact same result, however neither @types/sqlstring nor @types/mysql mention this feature.
Is it deprecated, unintended or simply undocumented?
The text was updated successfully, but these errors were encountered:
Hi @lgarczyn , it is a deprecated way to pass just a single value, yes. It used to be in the docs, but I believe it was removed in order to discourage it's usage, as it was confusing on how it worked, especially when that single ? was itself an array.
Currently the calls
format('?', 'test')
andformat('?', ['test'])
appear to give the exact same result, however neither@types/sqlstring
nor@types/mysql
mention this feature.Is it deprecated, unintended or simply undocumented?
The text was updated successfully, but these errors were encountered: