{"id":22100587,"url":"https://github.com/voxoco/vorm","last_synced_at":"2026-04-09T20:46:06.477Z","repository":{"id":63931171,"uuid":"571882748","full_name":"voxoco/vorm","owner":"voxoco","description":"VORM - VOXO ORM like Deno module with a simple interface and hot-swappable backends","archived":false,"fork":false,"pushed_at":"2022-12-02T20:07:21.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-02T22:08:35.955Z","etag":null,"topics":["db","deno","mysql","orm","rqlite","typescript"],"latest_commit_sha":null,"homepage":"https://voxo.co","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/voxoco.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}},"created_at":"2022-11-29T04:46:35.000Z","updated_at":"2022-11-29T04:56:05.000Z","dependencies_parsed_at":"2023-01-14T15:00:46.017Z","dependency_job_id":null,"html_url":"https://github.com/voxoco/vorm","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/voxoco%2Fvorm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/voxoco%2Fvorm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/voxoco%2Fvorm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/voxoco%2Fvorm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/voxoco","download_url":"https://codeload.github.com/voxoco/vorm/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245195916,"owners_count":20575937,"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":["db","deno","mysql","orm","rqlite","typescript"],"created_at":"2024-12-01T05:14:56.129Z","updated_at":"2026-04-09T20:46:06.443Z","avatar_url":"https://github.com/voxoco.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# VORM - VOXO ORM :notebook:\n\nVORM is a simple ORM like Deno module for VOXO which provides a simple interface for various backend databases (currently MySQl and rqlite are supported).\n\n- Works with MySql, rqlite\n- Simple interface (single entry point)\n- Easy to swap backend database on a per query basis\n- Easy to extend with new backend databases\n- Usage of named parameters\n\n## Usage\n\n```ts\nimport { Vorm } from \"https://deno.land/x/vorm/mod.ts\";\n\nconst db = new Vorm('mysql://root:root@localhost:3306/main', 'http://localhost:4001/db');\n\nconst res = await db.getUserById(98);\nconsole.log(res);\n```\n\n## Response Object\n\nResponse object is a simple object with the following properties:\n\n```ts\n{\n  req: { // Request object\n    sql: string, // SQL query\n    vales: { [key: string]: any }, // Values for named parameters\n    db: string, // Database name\n    isWrite: boolean, // Is write query\n    queue: boolean, // Is queued write query (rqlite only)\n  },\n  rows: { [param: string]: string | number }[], // Rows returned by the SELECT query\n  affectedRows: number, // Number of affected rows by the INSERT/UPDATE/DELETE query\n  insertId: number, // Insert ID of the INSERT query\n  time: number, // Time taken to execute the query (rqlite only)\n  error: string, // Error message if any\n}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvoxoco%2Fvorm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvoxoco%2Fvorm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvoxoco%2Fvorm/lists"}