Swedish letters fuck up parsing into SQL querry
anders at xore.se
Tue Mar 24 14:33:40 UTC 2020
On Tuesday, 24 March 2020 at 14:10:19 UTC, WebFreak001 wrote:
> On Tuesday, 24 March 2020 at 11:15:24 UTC, matheus wrote:
>> On Monday, 23 March 2020 at 15:41:50 UTC, Adam D. Ruppe wrote:
>>> On Monday, 23 March 2020 at 15:15:12 UTC, Anders S wrote:
>>>> I'm creating a connection to the db and conn.exec(sql)
>>> It depends on the library but it is almost always easier to
>>> do it right than to do it the way you are.
>>> like with my lib it is
>>> db.query("update celldata set name = ?", new_name);
>> I'm not the OP but I have a question, isn't this passive to
>> SQL injection too, or your LIB will handle this somehow?
>> If is the later could you please point the code on GitHub?
> it's builtin into mysql
Ahhh, thanks need to dig into this and learn.
Thanks guys for all the responses. Got plenty of leads to dig
into, also issues I have to consider to be a better coder ;)
More information about the Digitalmars-d-learn