mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-09-28 23:58:21 +00:00
Fix creating DELETE sql statement with table alias
This commit is contained in:
@@ -25,7 +25,7 @@ object FromExprBuilder {
|
||||
|
||||
def buildTable(table: TableDef): Fragment =
|
||||
Fragment.const(table.tableName) ++ table.alias
|
||||
.map(a => Fragment.const0(a))
|
||||
.map(a => Fragment.const(a))
|
||||
.getOrElse(Fragment.empty)
|
||||
|
||||
def buildRelation(rel: FromExpr.Relation): Fragment =
|
||||
|
Reference in New Issue
Block a user