Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
1 vote
2 answers
434 views

Struggling with Opaque Pointers in SQLITE swift

Hi I am new to swift and attempting to add a database for my a level coding project. I cannot seem to get opaque pointers to work without errors. I have used tutorials and always get the same errors. ...
Josh Horne's user avatar
0 votes
0 answers
249 views

SQL syntax error throwing near "CLUSTERED": syntax error [duplicate]

While loading sql query its throwing error near "CLUSTERED": syntax error import SQLite3 var db: OpaquePointer? let fileURL = try! FileManager.default.url(for: .documentDirectory, in: ....
Amit's user avatar
  • 645
0 votes
1 answer
589 views

Opaque Pointer error Swift 3.1

I am having an issue with foreign and international characters inserted or updated into a SQLite database using Swift 3.1. So, I tried the below to add the UTF8, but run into an error " cannot convert ...
David Sanford's user avatar