We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8169c34 commit 6efa847Copy full SHA for 6efa847
1 file changed
select_dataset_test.go
@@ -625,6 +625,20 @@ func (sds *selectDatasetSuite) TestCrossJoin() {
625
)
626
}
627
628
+func (sds *selectDatasetSuite) TestCustomJoin() {
629
+ bd := goqu.From("test")
630
+ sds.assertCases(
631
+ selectTestCase{
632
+ ds: bd.CustomJoin(goqu.L("ARRAY JOIN tags").As("tag")),
633
+ clauses: exp.NewSelectClauses().
634
+ SetFrom(exp.NewColumnListExpression("test")).
635
+ JoinsAppend(
636
+ exp.NewUnConditionedJoinExpression(exp.CustomJoinType, goqu.L("ARRAY JOIN tags").As("tag")),
637
+ ),
638
+ },
639
+ )
640
+}
641
+
642
func (sds *selectDatasetSuite) TestWhere() {
643
w := goqu.Ex{"a": 1}
644
w2 := goqu.Ex{"b": "c"}
0 commit comments