Adding OR condition with other than entity column in typeorm gives error: could not determine data type of parameter $2

后端 未结 0 966
旧时难觅i
旧时难觅i 2021-02-06 16:48

I want to generate postgres query as below:

select * from table1 t1 inner join table2 t2 on t1.id = t2.table1_id
where param.name is null or t1.name ilike param.n         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题