Handle joins with having #5

Open
bilal.catic wants to merge 17 commits from handle-joins-with-having into master

17 Commits

Author SHA1 Message Date
Bilal
3c4f3f3b58 add more search tests 2020-04-29 18:00:58 +02:00
Bilal
c7b173cb79 refactor text_to_sql spec to include STRING_AGG wrap 2020-04-29 17:10:54 +02:00
Bilal
6c9878ecea add spec to test searching for INNER search term 2020-04-29 16:53:41 +02:00
Bilal
15fc342633 remove comment 2020-04-29 16:53:18 +02:00
Bilal
f8352dcaa1 transform INNER JOIN to LEFT OUTER 2020-04-29 16:52:54 +02:00
Bilal
e0fae50584 add new tables and models for join through association 2020-04-29 07:22:03 +02:00
Bilal
fe96f682db start using HAVING instead of manually building joins 2020-04-29 07:21:39 +02:00
Bilal Catic
8f7b94f8cd Merge branch 'fix-bug-with-join-query' into 'join-bug-fix-with-multiple-default-columns'
Fix bug with join query

See merge request saburly/senadibilal/reklamice/gem!3
2020-04-24 09:44:27 +00:00
Bilal
0de540c5bd fix bug after rebase 2020-04-24 11:40:53 +02:00
Bilal
455845e36b update specs; add new specs to test for reported bug related to AND query in referenced table 2020-04-24 11:37:37 +02:00
Bilal
f4bec85161 change ActiveRecord joins query with custom generated SQL 2020-04-24 11:34:24 +02:00
Bilal Catic
4e382d7c1a Merge branch 'allow-multiple-default-columns' into 'join-bug-fix-with-multiple-default-columns'
Allow multiple default columns

See merge request saburly/senadibilal/reklamice/gem!2
2020-04-24 09:28:06 +00:00
Bilal
18f6875b54 add specs to search multiple default columns 2020-04-16 15:31:50 +02:00
Bilal
a54b2586ec update PgSearchable to accept array of default columns 2020-04-16 15:30:01 +02:00
Bilal
fc5fdd3db2 add model with two default fields 2020-04-16 15:28:28 +02:00
Bilal
b62638a647 Update and add new text-to-sql-query specs 2020-04-16 15:00:25 +02:00
Bilal
838b60ed92 Enable multiple default columns 2020-04-16 14:59:51 +02:00