The package simplifies working with SQLite DB file for Swift applications. May be used on any platform that suports Swift - iOS, macOS, Linux.
A new version is under construction. It's a try to implement a part of JDBC approach. It should at least:
- Allow performing CRUD operations.
- Work with both - Statement and PreparedStatement.
- SQLite3
- RDFoundation package.
- RDError package.
- Add the package to your project. For Xcode project
select
<porject>><project>>Swift Packages>+.
- Then paste
git@github.com:drrost/SDBC.gitto the text field.
To the Package.swift file of your package add in dependencies section:
dependencies: [
.package(
name: "SDBC",
url: "git@github.com:drrost/SDBC.git",
from: "1.0.5")
],Then in the same file add to the targets section:
targets: [
.target(
name: "YourPackage",
dependencies: ["SDBC"]),
.testTarget(
name: "YourPackageTests",
dependencies: ["YourPackage"]),
]Responsibilities:
- Is able to switch environment - prod and unit test.
- Create
