I'd like to bring your attention on the fact that where clauses will only resolve for constants.
The following works:
select a_field from a_table where a_field='a value';
but in this case
select a_field from a_table where a_field=a_func.parameter;
query parameters needs to be replaced by a value, from execution state, as mentioned here:
|
// add a dummy value if this is query parameter, the actual value |
This is limitation of the current implementation that should be mentioned here:
|
/// <strong>Warning</strong>: Currently only simple conditions are supported, see below for examples. Other kinds of conditions, like JSON attribute filter e.g. `where json_col->>'key' = 'value'`, are not supported yet. |
Thanks for any suggestion or direction to look from here in order to overcome that limitation.
I'd like to bring your attention on the fact that where clauses will only resolve for constants.
The following works:
but in this case
query parameters needs to be replaced by a value, from execution state, as mentioned here:
wrappers/supabase-wrappers/src/qual.rs
Line 195 in 2a3f985
This is limitation of the current implementation that should be mentioned here:
wrappers/supabase-wrappers/src/interface.rs
Line 457 in 2a3f985
Thanks for any suggestion or direction to look from here in order to overcome that limitation.