We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I got one sentry related to this. this is not reproducible but one of my client has faced this.
at the time of creating table using try! db.run(table.create(ifNotExists: true) { t in inside create method, in below code block
try! db.run(table.create(ifNotExists: true) { t in
let clauses: [Expressible?] = [ create(Table.identifier, tableName(), temporary ? .temporary : nil, ifNotExists), "".wrap(builder.definitions) as Expression<Void>, withoutRowid ? Expression<Void>(literal: "WITHOUT ROWID") : nil ]
"".wrap(builder.definitions) as Expression => May be due to below reason crash happen
builder.definitions is empty then crash happen
And also second crash in Screenshot you can see. below is code for it.
`extension Expressible {
// naïve compiler for statements that can’t be bound, e.g., CREATE TABLE // FIXME: make internal (0.13.0) public func asSQL() -> String { let expressed = expression var idx = 0 return expressed.template.reduce("") { template, character in let transcoded: String if character == "?" { transcoded = transcode(expressed.bindings[idx]) idx += 1 } else { transcoded = String(character) } return template + transcoded } }
}`
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I got one sentry related to this. this is not reproducible but one of my client has faced this.
at the time of creating table using
try! db.run(table.create(ifNotExists: true) { t in
inside create method, in below code blocklet clauses: [Expressible?] = [ create(Table.identifier, tableName(), temporary ? .temporary : nil, ifNotExists), "".wrap(builder.definitions) as Expression<Void>, withoutRowid ? Expression<Void>(literal: "WITHOUT ROWID") : nil ]
"".wrap(builder.definitions) as Expression => May be due to below reason crash happen
builder.definitions is empty then crash happen
And also second crash in Screenshot you can see. below is code for it.
`extension Expressible {
}`
The text was updated successfully, but these errors were encountered: