We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8f2251e commit 157a234Copy full SHA for 157a234
src/main/java/org/mybatis/dynamic/sql/SqlColumn.java
@@ -74,7 +74,7 @@ public Optional<SqlTable> table() {
74
}
75
76
public Optional<String> tableAlias() {
77
- return table().map(SqlTable::alias).orElse(Optional.empty());
+ return table().flatMap(SqlTable::alias);
78
79
80
public Optional<String> columnAlias() {
0 commit comments