0 votes
1 answer
146 views
SwiftUI + Sqlite 3 (stephencelis) - how to create sqlite3 order statement in variable?I use SQLite.swift library and have a question regarding the order method. Related to the SQLite.swift sort syntax, I would like to put the sort order in a variable, as I need different sort ...
asked Oct 20, 2024 at 19:593 votes
2 answers
923 views
SQLite Expression - name space conflict with Xcode 16/iOS 18When you will update Xcode 15 to Xcode 16, you will get many errors using SQLite.swift library. For example: Missing argument label 'value:' in call etc, etc. How to fix them?
asked Sep 17, 2024 at 16:220 votes
0 answers
120 views
"error: Unexpected null value for column" while it does contain a valueI created an SQLite database using fmdb and inserted data. I am now using sqlite.swift instead of fmdb. It crashes when I read a key of type blob which does have a value: SQLite/Query.swift:1235: ...
asked Jun 27, 2024 at 4:560 votes
1 answer
83 views
SingleValueContainer error thrown during unit tests - retrieving recordsI am a bit confused why I am getting this error thrown while trying to read from the database. In my test, I write the record successfully. Immediately after the write, I am trying to read the ...
asked Jan 9, 2024 at 17:190 votes
1 answer
155 views
How Can I enable FTS5 support in SQLite.swift using the Swift Package ManagerI have a project that is built using SPM and in it I use the SQLite.swift library (src). In my Package.swift file I have the following dependency: let package = Package( ... dependencies: [ ....
asked Nov 6, 2023 at 21:151 vote
3 answers
876 views
Flutter build on iOS fails while Android build is working fineFirst, I'm building a Flutter app for Android and iOS. While building and running on Android is working fine the iOS build is failing since I added SQLite support. flutter run --debug Changing current ...
asked Oct 23, 2023 at 14:020 votes
2 answers
105 views
Determine number of rows returns from SQLite.swift raw queryI am using the SQLite.swift library and running raw queries. I have the following let results = try db!.prepare(""" SELECT class from "character" where character_id = ? &...
asked Sep 27, 2023 at 16:321 vote
0 answers
104 views
Cannot Import SQLite for SQLite Swift Wrapper in Library TargetI read the similar question @ Cannot Import SQLite for SQLite Swift Wrapper but it wasn't quite my scenerio. Xcode 14.3.1 I started a macOS Library project in Xcode. I added the SQLite.xcodeproj file ...
asked Jul 2, 2023 at 3:361 vote
0 answers
54 views
How to convert Sqlite.swift Binding to a primitive Swift type?How can I get a primitive Swift type from a SQLite.swift Binding, I have this sample: for row in try db.prepare("select * from table") { let t = row[0]! as Int64 ...
asked Jul 1, 2023 at 17:460 votes
0 answers
201 views
@import error while building sqlite.swift in XcodeI am new to iOS development. I am working on developing an app which saves data into a sqlite.swift db and I have added the SQLite framework to the targets and linked the required libraries as per the ...
asked Jun 21, 2023 at 0:000 votes
0 answers
146 views
SwiftUI - Update Array of objects in parent view model (Binding Issue) - Code works until you switch TabsI need some help with this question please. I am using SQLite.swift to store data in DB, I would like to fetch data only once when the application starts as it's a heavy operation. I need to be able ...
asked Jun 13, 2023 at 6:183 votes
0 answers
332 views
The operation couldn’t be completed. (SQLite.Result error 0.)I am running into sporadic issues in production with SQLite.Swift where calls return the following SQLite.Result: "The operation couldn’t be completed. (SQLite.Result error 0.)". A quick web ...
asked Feb 3, 2023 at 18:350 votes
2 answers
214 views
How to delete column in SQLite.swiftI am trying to do a SQLite.swift (v 0.12.2) migration which will delete column. But I can't found any method in documentation for that. I see only addColumn, but no any for deletion. How is it ...
asked Jan 16, 2023 at 14:061 vote
1 answer
347 views
Dynamic Filter in Sqlite.swift to check if a column is not nullI need some help in understanding the following problem. I have the need for a dynamic filter (trying to not duplicate the queries for different scenarios). I have already found that I can create a ...
asked Nov 27, 2022 at 18:131 vote
0 answers
438 views
Xcode Previews fail with: "missing required module 'SQLiteObjc'"Although I can compile and run my project using SQLite.swift, I can't preview views that are in a local package. An issue was recently fixed for Carthage installs: https://github.com/stephencelis/...
asked Sep 10, 2022 at 11:40RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4