{"id":20604814,"url":"https://github.com/themost-framework/sqlite","last_synced_at":"2026-03-17T21:04:02.591Z","repository":{"id":37957558,"uuid":"259684211","full_name":"themost-framework/sqlite","owner":"themost-framework","description":"MOST Web Framework SQLite Data Adapter","archived":false,"fork":false,"pushed_at":"2025-04-12T04:25:04.000Z","size":2085,"stargazers_count":0,"open_issues_count":10,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-12T05:27:43.573Z","etag":null,"topics":["database","query","query-builder","query-language","sql","sqlite"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/themost-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}},"created_at":"2020-04-28T15:56:09.000Z","updated_at":"2025-04-12T04:24:16.000Z","dependencies_parsed_at":"2024-05-14T07:28:57.035Z","dependency_job_id":"4391dce5-8c8c-4753-9ff1-4b97cdb8f375","html_url":"https://github.com/themost-framework/sqlite","commit_stats":null,"previous_names":[],"tags_count":34,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/themost-framework%2Fsqlite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/themost-framework%2Fsqlite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/themost-framework%2Fsqlite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/themost-framework%2Fsqlite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/themost-framework","download_url":"https://codeload.github.com/themost-framework/sqlite/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248524720,"owners_count":21118613,"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","query","query-builder","query-language","sql","sqlite"],"created_at":"2024-11-16T09:24:56.545Z","updated_at":"2025-10-05T23:42:50.741Z","avatar_url":"https://github.com/themost-framework.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"![test](https://github.com/themost-framework/sqlite/workflows/test/badge.svg)\n[![npm](https://img.shields.io/npm/v/@themost%2Fsqlite.svg)](https://www.npmjs.com/package/@themost%2Fsqlite)\n![Libraries.io dependency status for latest release, scoped npm package](https://img.shields.io/librariesio/release/npm/@themost/sqlite)\n![GitHub top language](https://img.shields.io/github/languages/top/themost-framework/sqlite)\n[![License](https://img.shields.io/npm/l/@themost/sqlite)](https://github.com/themost-framework/sqlite/blob/master/LICENSE)\n![GitHub last commit](https://img.shields.io/github/last-commit/themost-framework/sqlite)\n![GitHub Release Date](https://img.shields.io/github/release-date/themost-framework/sqlite)\n[![npm](https://img.shields.io/npm/dw/@themost/sqlite)](https://www.npmjs.com/package/@themost%2Fsqlite)\n\n![MOST Web Framework Logo](https://github.com/themost-framework/common/raw/master/docs/img/themost_framework_v3_128.png)\n\n# @themost/sqlite\nMOST Web Framework SQLite Data Adapter\n\nLicense: [BSD-3-Clause](https://github.com/themost-framework/sqlite/blob/master/LICENSE)\n\n## Install\n\n    npm install @themost/sqlite\n\n## Usage\n\nRegister SQLite adapter on app.json as follows:\n\n    \"adapterTypes\": [\n        ...\n          { \"name\":\"SQLite Data Adapter\", \"invariantName\": \"sqlite\", \"type\":\"@themost/sqlite\" }\n        ...\n        ],\n    adapters: [\n        ...\n        { \n            \"name\":\"local-db\", \"invariantName\":\"sqlite\", \"default\":true,\n            \"options\": {\n                database:\"db/local.db\"\n            }\n        }\n        ...\n    ]\n}\n\nor create a new instance of `SqliteAdapter` class for connecting to SQLite database.\n\n```javascript\nconst { SqliteAdapter } = require('@themost/sqlite');\nconst { QueryExpression } = require('@themost/query');\nconst db = new SqliteAdapter({\n    database: 'db/local.db'\n});\nconst query = new QueryExpression()\n    .select(({ id, name, category, model, price }) =\u003e ({\n        id,\n        name,\n        category,\n        model,\n        price,\n    })).from('ProductData')\n    .where((x) =\u003e {\n        return x.price \u003e 500 \u0026\u0026 x.category === \"Laptops\";\n    })\n    .orderByDescending((x) =\u003e x.price)\n    .take(10);\nconst items = await db.executeAsync(query);\n```\n\nRead more about [MOST Web Framework query language provided by @themost/query](https://github.com/themost-framework/query?#themostquery)\n\nUse [query playground project at codesanbox.io](https://codesandbox.io/p/devbox/query-playground-zc8fg9) to learn more about the query language specification of [@themost-framework](https://github.com/themost-framework)\n\n![codesandbox.io_query-playground-1.png](https://github.com/themost-framework/sqlite/raw/master/docs/img/codesandbox.io_query-playground-1.png)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthemost-framework%2Fsqlite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthemost-framework%2Fsqlite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthemost-framework%2Fsqlite/lists"}