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
SELECT `fcs2fct_fcs_identifier`
FROM `t_file_conversion_set2t_file_conversion_task`
WHERE `fcs2fct_fct_identifier` IN :fcs2fct_fct_identifier:
instead of:
SELECT `fcs2fct_fcs_identifier`
FROM `t_file_conversion_set2t_file_conversion_task`
WHERE `fcs2fct_fct_identifier` IN ('val1','val2')
I checked it and $values contains val1 and val2. Shouldn't getCompiledSelect returns sql with binded values? Docs : "Compiles the selection query just like $builder->get() but does not run the query. This method simply returns the SQL query as a string."
The text was updated successfully, but these errors were encountered:
One would think that, but I believe that's old docblock from before the CI4 changes. However, the database layer isn't something that I know intimately. I did make the change to use query class, since that's needed to work with prepared queries, and makes everything a bit more streamlined. It may be that the naming of that class is no longer relevant. However, I do know the database layer works currently and I'm a bit leery of touching it just now. :)
*alpha2.
Just close it if this is not an error :)
According to: https://codeigniter4.github.io/CodeIgniter4/database/query_builder.html I wrote:
but d() prints:
instead of:
I checked it and $values contains val1 and val2. Shouldn't getCompiledSelect returns sql with binded values? Docs : "Compiles the selection query just like $builder->get() but does not run the query. This method simply returns the SQL query as a string."
The text was updated successfully, but these errors were encountered: