{"id":39028144,"url":"https://github.com/feather-framework/feather-sqlite-database","last_synced_at":"2026-02-17T22:04:01.773Z","repository":{"id":210534416,"uuid":"726812307","full_name":"feather-framework/feather-sqlite-database","owner":"feather-framework","description":"SQLite driver implementation for the abstract Feather Database Swift API package.","archived":false,"fork":false,"pushed_at":"2026-02-11T15:31:58.000Z","size":63,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-02-11T21:47:37.719Z","etag":null,"topics":["database","sqlite","swift-6","swift-concurrency"],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/feather-framework.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2023-12-03T13:31:28.000Z","updated_at":"2026-02-11T15:32:04.000Z","dependencies_parsed_at":null,"dependency_job_id":"e7c52c1a-6686-4718-b7a2-d7a94a49c4d5","html_url":"https://github.com/feather-framework/feather-sqlite-database","commit_stats":null,"previous_names":["feather-framework/feather-relational-database-driver-sqlite","feather-framework/feather-database-driver-sqlite","feather-framework/feather-sqlite-database"],"tags_count":10,"template":false,"template_full_name":null,"purl":"pkg:github/feather-framework/feather-sqlite-database","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feather-framework%2Ffeather-sqlite-database","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feather-framework%2Ffeather-sqlite-database/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feather-framework%2Ffeather-sqlite-database/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feather-framework%2Ffeather-sqlite-database/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/feather-framework","download_url":"https://codeload.github.com/feather-framework/feather-sqlite-database/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feather-framework%2Ffeather-sqlite-database/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29559966,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-17T21:50:49.831Z","status":"ssl_error","status_checked_at":"2026-02-17T21:46:15.313Z","response_time":100,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["database","sqlite","swift-6","swift-concurrency"],"created_at":"2026-01-17T17:34:55.207Z","updated_at":"2026-02-17T22:04:01.767Z","avatar_url":"https://github.com/feather-framework.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Feather SQLite Database\n\nSQLite driver implementation for the abstract [Feather Database](https://github.com/feather-framework/feather-database) Swift API package.\n\n[\n    ![Release: 1.0.0-beta.7](https://img.shields.io/badge/Release-1%2E0%2E0--beta%2E7-F05138)\n](\n    https://github.com/feather-framework/feather-sqlite-database/releases/tag/1.0.0-beta.7\n)\n\n## Features\n\n- SQLite driver for Feather Database\n- Automatic query parameter escaping via Swift string interpolation.\n- Async sequence query results with `Decodable` row support.\n- Designed for modern Swift concurrency\n- DocC-based API Documentation\n- Unit tests and code coverage\n\n## Requirements\n\n![Swift 6.1+](https://img.shields.io/badge/Swift-6%2E1%2B-F05138)\n![Platforms: Linux, macOS, iOS, tvOS, watchOS, visionOS](https://img.shields.io/badge/Platforms-Linux_%7C_macOS_%7C_iOS_%7C_tvOS_%7C_watchOS_%7C_visionOS-F05138)\n\n- Swift 6.1+\n- Platforms:\n  - Linux\n  - macOS 15+\n  - iOS 18+\n  - tvOS 18+\n  - watchOS 11+\n  - visionOS 2+\n\n## Installation\n\nAdd the dependency to your `Package.swift`:\n\n```swift\n.package(url: \"https://github.com/feather-framework/feather-sqlite-database\", exact: \"1.0.0-beta.5\"),\n```\n\nThen add `FeatherSQLiteDatabase` to your target dependencies:\n\n```swift\n.product(name: \"FeatherSQLiteDatabase\", package: \"feather-sqlite-database\"),\n```\n\n### Package traits\n\nThis package offers additional integrations you can enable using [package traits](https://docs.swift.org/swiftpm/documentation/packagemanagerdocs/addingdependencies#Packages-with-Traits).\nTo enable an additional trait on the package, update the package dependency:\n\n```diff\n.package(\n    url: \"https://github.com/feather-framework/feather-sqlite-database\",\n    exact: \"1.0.0-beta.4\",\n+   traits: [\n+       .defaults, \n+       \"ServiceLifecycleSupport\",\n+   ]\n)\n```\n\nAvailable traits:\n\n- `ServiceLifecycleSupport` (default): Adds support for `SQLiteClientService`, a `ServiceLifecycle.Service` implementation for managing SQLite clients.\n\n\n## Usage\n\nAPI documentation is available at the link below:\n\n[\n    ![DocC API documentation](https://img.shields.io/badge/DocC-API_documentation-F05138)\n](\n    https://feather-framework.github.io/feather-sqlite-database/\n)\n\nHere is a brief example:  \n\n```swift\nimport Logging\nimport SQLiteNIO\nimport FeatherDatabase\nimport FeatherSQLiteDatabase\n\nvar logger = Logger(label: \"example\")\nlogger.logLevel = .info\n\nlet configuration = SQLiteClient.Configuration(\n    storage: .file(path: \"/Users/me/db.sqlite\"),\n    logger: logger\n)\n\nlet client = SQLiteClient(configuration: configuration)\n\nlet database = SQLiteDatabaseClient(\n    client: client,\n    logger: logger\n)\n\ntry await client.run()\n\nlet result = try await database.withConnection { connection in\n    try await connection.run(\n        query: #\"\"\"\n            SELECT\n                sqlite_version() AS \"version\"\n            WHERE\n                1=\\#(1);\n            \"\"\"#\n    )\n}\n\nfor try await item in result {\n    let version = try item.decode(column: \"version\", as: String.self)\n    print(version)\n}\n\nawait client.shutdown()\n```\n\n\u003e [!WARNING]  \n\u003e This repository is a work in progress, things can break until it reaches v1.0.0.\n\n## Other database drivers\n\nThe following database driver implementations are available for use:\n\n- [Postgres](https://github.com/feather-framework/feather-postgres-database)\n- [MySQL](https://github.com/feather-framework/feather-mysql-database)\n\n## Development\n\n- Build: `swift build`\n- Test:\n  - local: `swift test`\n  - using Docker: `make docker-test`\n- Format: `make format`\n- Check: `make check`\n\n## Contributing\n\n[Pull requests](https://github.com/feather-framework/feather-sqlite-database/pulls) are welcome. Please keep changes focused and include tests for new logic.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffeather-framework%2Ffeather-sqlite-database","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffeather-framework%2Ffeather-sqlite-database","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffeather-framework%2Ffeather-sqlite-database/lists"}