Additional MySQL WITH statement tests.

This commit is contained in:
go-jet 2020-06-01 20:30:09 +02:00
parent e54e8fcabf
commit d19fdea86d
5 changed files with 103 additions and 8 deletions

View file

@ -9,7 +9,7 @@ type CommonTableExpression struct {
}
// WITH function creates new WITH statement from list of common table expressions
func WITH(cte ...jet.CommonTableExpressionDefinition) func(statement jet.SerializerStatement) Statement {
func WITH(cte ...jet.CommonTableExpressionDefinition) func(statement jet.Statement) Statement {
return jet.WITH(Dialect, cte...)
}