Sqlx: Disable "missing destination name" error

Created on 4 Jun 2015  路  2Comments  路  Source: jmoiron/sqlx

Is there an option to disable the "missing destination name" error returned when columns exist in the table but not in the model?

This makes it somewhat frustrating during development if you switch branches (and are then forced to roll back migrations) or even worse in production if you keep temporary columns around which could then bring down your application.

Most helpful comment

Sorry, I missed this notification.

See http://godoc.org/github.com/jmoiron/sqlx#DB.Unsafe

All 2 comments

Any thoughts on this?

Sorry, I missed this notification.

See http://godoc.org/github.com/jmoiron/sqlx#DB.Unsafe

Was this page helpful?
0 / 5 - 0 ratings

Related issues

plandem picture plandem  路  5Comments

wyattjoh picture wyattjoh  路  4Comments

x1unix picture x1unix  路  4Comments

johnknapp picture johnknapp  路  5Comments

webRat picture webRat  路  4Comments