This PR adds in a check for output expressions that use an asterisk, e.g. &MyStruct.*. If the struct has no db tags then an error will be thrown. Currently, the statement SELECT &MyStruct.* FROM t would result in the SQL SELECT FROM t which would trigger a parsing error from the database.
This PR adds in a check for output expressions that use an asterisk, e.g.
&MyStruct.*
. If the struct has nodb
tags then an error will be thrown. Currently, the statementSELECT &MyStruct.* FROM t
would result in the SQLSELECT FROM t
which would trigger a parsing error from the database.