Describe the issue
SQLColumn("*", table: ...) is not being correctly serialised
Vapor version
4.101.0
Operating system and version
MacOS 14.2.1
Swift version
Swift Package Manager - Swift 5.10.0-dev
Steps to reproduce
Using SQLColumn("*", table: ...) in a query such as
try await (database as! SQLDatabase).select()
.column(SQLColumn("*", table: SQLQualifiedTable(Some.schema)))
.from(Some.schema)
.all()
results in an error: failed: caught error: "error: no such column: table_name.*".
This does not happen when using
try await (database as! SQLDatabase).select()
.column(SQLColumn(SQLLiteral.all, table: SQLQualifiedTable(Some.schema)))
.from(Some.schema)
.all()
Outcome
No response
Additional notes
No response
Describe the issue
SQLColumn("*", table: ...)is not being correctly serialisedVapor version
4.101.0
Operating system and version
MacOS 14.2.1
Swift version
Swift Package Manager - Swift 5.10.0-dev
Steps to reproduce
Using
SQLColumn("*", table: ...)in a query such asresults in an error:
failed: caught error: "error: no such column: table_name.*".This does not happen when using
Outcome
No response
Additional notes
No response