Closed mbmshafraz closed 5 years ago
@mbmshafraz, can you add your table definition and code calling the save (including values) to the issue please?
I discussed the issue on slack, the root of the problem was that a pre-existing database table had an incorrect name for the model:
struct Visitor: Model {
var email: String = “test@mail.com”
var receiveMail = 0
}
The error message should be better in these circumstances so I will use this issue to improve it!
I'v not been able to recreate this error, I asked the originator for further assistance on Slack.
Marking this as closed. Should further information become available I will re-open.
Context and Description
A description of the issue.
Environment Details
Development Envirement MacOS, MySQL server on Ubuntu, Swift 4.2 and Xcode 10.1.
Steps to Reproduce
Save an object using save function
Expected vs. Actual Behaviour
receiving ([SwiftKuery.Column]) columns =