https://github.com/go-pg/pg/blob/691def15f539b232452a5c982c08c5804b52bef1/orm/update_test.go#L59 When updating and the model contains all empty fields invalid update syntax is produced. Suggest returning specific error to capture the case of a non-update