0
查询:是否可以使用CodeIgniter的查询生成器进行此查询?
select (exists (select 1 from table1 where url = 'fajne-to-jest')) as in_table1,
(exists (select 1 from table2 where url = 'fajne-to-jest')) as in_table2;
我不喜欢看到存在的功能。
我不认为这是可能的,但也许我错了。
所以问题是,是否有可能创建这个复杂的查询只有CodeIgniter的查询生成器?
同意,任何复杂的查询和连接都使用直接查询方法。 – timothymarois