{"id":19385895,"url":"https://github.com/rqlite/knex-rqlite","last_synced_at":"2025-04-23T22:32:09.516Z","repository":{"id":38443208,"uuid":"242799055","full_name":"rqlite/knex-rqlite","owner":"rqlite","description":"rqlite dialect for Knex.js","archived":false,"fork":false,"pushed_at":"2024-09-27T16:28:44.000Z","size":2947,"stargazers_count":12,"open_issues_count":1,"forks_count":3,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-02T21:42:37.244Z","etag":null,"topics":["database","javascript","knex","rqlite","sqlite","typescript"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"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/rqlite.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","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}},"created_at":"2020-02-24T17:29:39.000Z","updated_at":"2025-03-18T21:49:02.000Z","dependencies_parsed_at":"2023-02-09T03:16:33.343Z","dependency_job_id":"2903cc0f-ec22-4f0c-b302-e08094a55339","html_url":"https://github.com/rqlite/knex-rqlite","commit_stats":{"total_commits":54,"total_committers":4,"mean_commits":13.5,"dds":0.5555555555555556,"last_synced_commit":"274a1ff1e72e0c7d7f0a61151d3105b9a20bc02f"},"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rqlite%2Fknex-rqlite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rqlite%2Fknex-rqlite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rqlite%2Fknex-rqlite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rqlite%2Fknex-rqlite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rqlite","download_url":"https://codeload.github.com/rqlite/knex-rqlite/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250527185,"owners_count":21445320,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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","javascript","knex","rqlite","sqlite","typescript"],"created_at":"2024-11-10T10:03:34.643Z","updated_at":"2025-04-23T22:32:09.142Z","avatar_url":"https://github.com/rqlite.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [knex-rqlite](https://github.com/rqlite/knex-rqlite)\n\n[![](assets/badge.license.svg)](https://opensource.org/licenses/MIT)\n[![](assets/badge.npm.svg)](https://www.npmjs.com/package/knex-rqlite)\n![](assets/badge.coverage.svg)\n[![](assets/badge.style.svg)](https://prettier.io/)\n\nRqlite dialect for knex\n\n---\n\n## Usage\n\nFirst install knex and knex-rqlite: `npm install knex rqlite-js knex-rqlite`\n\nThen to use the driver like this:\n\n```js\nimport Knex from \"knex\";\nimport { RqliteDialect, typeConfig } from \"knex-rqlite\";\n\nconst knex = Knex({\n  client: RqliteDialect,\n  connection: typeConfig({\n    host: \"localhost\",\n    port: 4001,\n  }),\n});\n```\n\n## Credits\n\nA special thanks goes to the team [@redaxle](https://github.com/redaxle), which implemented the compatibility between knex-rqlite and knex 2.0 ([#17](https://github.com/rqlite/knex-rqlite/pull/17))!\n\n## Known problems\n\n- This knex dialect **doesn't support transactions** yet\n- Look into TODO.md to find a list of coming features\n\n## E2E tests\n\nThe tests can be run with `./scripts/test.js`\n\n**This requires a running rqlite server on port 4001 and will drop\u0026change the table rqliteDialect-e2e**\n\n## Building\n\n`./scripts/build`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frqlite%2Fknex-rqlite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frqlite%2Fknex-rqlite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frqlite%2Fknex-rqlite/lists"}