Skip to content

Commit 748b994

Browse files
committed
fix bugs
1 parent 1ba1f62 commit 748b994

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

orm/query_with.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ func (m Query[T]) withCte(subquery SubQuery, cteName string, recursive bool, col
6666
subquery.tableName = cteName
6767
subquery.recursive = recursive
6868
subquery.columns = columns
69+
m.setErr(subquery.err)
6970
m.withCtes = append(m.withCtes, subquery)
7071
return m
7172
}

0 commit comments

Comments
 (0)