{"id":13454824,"url":"https://github.com/PhilWaldmann/openrecord","last_synced_at":"2025-03-24T07:32:12.080Z","repository":{"id":13381006,"uuid":"16068975","full_name":"PhilWaldmann/openrecord","owner":"PhilWaldmann","description":"Make ORMs great again!","archived":true,"fork":false,"pushed_at":"2021-06-28T18:38:22.000Z","size":6266,"stargazers_count":486,"open_issues_count":10,"forks_count":38,"subscribers_count":19,"default_branch":"master","last_synced_at":"2025-01-19T23:38:31.736Z","etag":null,"topics":["activedirectory","activerecord","graphql","javascript","ldap","mysql","nodejs","oracle","orm","postgresql","rest","sql","sqlite3"],"latest_commit_sha":null,"homepage":"https://openrecord.js.org","language":"JavaScript","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/PhilWaldmann.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-01-20T11:36:30.000Z","updated_at":"2024-06-19T06:20:38.000Z","dependencies_parsed_at":"2022-09-10T09:11:59.453Z","dependency_job_id":null,"html_url":"https://github.com/PhilWaldmann/openrecord","commit_stats":null,"previous_names":[],"tags_count":117,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PhilWaldmann%2Fopenrecord","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PhilWaldmann%2Fopenrecord/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PhilWaldmann%2Fopenrecord/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PhilWaldmann%2Fopenrecord/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PhilWaldmann","download_url":"https://codeload.github.com/PhilWaldmann/openrecord/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245227541,"owners_count":20580896,"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":["activedirectory","activerecord","graphql","javascript","ldap","mysql","nodejs","oracle","orm","postgresql","rest","sql","sqlite3"],"created_at":"2024-07-31T08:00:58.246Z","updated_at":"2025-03-24T07:32:11.716Z","avatar_url":"https://github.com/PhilWaldmann.png","language":"JavaScript","readme":"![OpenRecord](docs/logo.png)\n==========\n\n[![Build Status](https://travis-ci.org/PhilWaldmann/openrecord.svg?branch=master)](https://travis-ci.org/PhilWaldmann/openrecord)\n[![Coverage Status](http://coveralls.io/repos/PhilWaldmann/openrecord/badge.png)](https://coveralls.io/r/PhilWaldmann/openrecord)\n[![npm package version](http://badge.fury.io/js/openrecord.png)](https://npmjs.org/package/openrecord)\n[![Package Quality](http://npm.packagequality.com/shield/openrecord.svg)](http://packagequality.com/#?package=openrecord)\n[![Code Quality: Javascript](https://img.shields.io/lgtm/grade/javascript/g/PhilWaldmann/openrecord.svg?logo=lgtm\u0026logoWidth=18)](https://lgtm.com/projects/g/PhilWaldmann/openrecord)\n[![Total Alerts](https://img.shields.io/lgtm/alerts/g/PhilWaldmann/openrecord.svg?logo=lgtm\u0026logoWidth=18)](https://lgtm.com/projects/g/PhilWaldmann/openrecord/alerts)\n\nOPENRECORD is an ActiveRecord inspired ORM for nodejs.\n\nCurrently it supports the following databases/datastores: SQLite3, MySQL, Postgres, Oracle, REST and LDAP (+ ActiveDirectory)  \nIf you want to build a GraphQL endpoint for any of these databases, OPENRECORD has some built in features to support you!\n\nAs the name imply, it's open and very easy to extend. The whole package was build that way.\n\nIt has a lot of features, just take a look at the [docs](https://openrecord.js.org)!\n\n## Usage example\n\nHere is an example how to get a single `post` from an existing sqlite3 file (by primary key).\n```js\nconst Store = require('openrecord/store/sqlite3')\n\nconst store = new Store({\n  file: './my-posts-db.sqlite3',\n  autoLoad: true\n})\n\nstore.ready(async () =\u003e {\n  const post = await store.Model('Post').find(1)\n  console.log(post)\n})\n```\n\nYou don't have to define your model (optional) and you also don't have to define your model's attributes (optional).  \nTake a look at the [docs](https://openrecord.js.org) to get started!\n\n## Contributing\n\nIf you've found a bug please report it via the [issues](https://github.com/PhilWaldmann/openrecord/issues) page.  \nBefore you submit a pull request, please make sure all tests still pass.\n\n---\n\nSponsored by [digitalbits.at](https://digitalbits.at)\n","funding_links":[],"categories":["Packages","Repository","包","Database","目录","Number"],"sub_categories":["Database","数据库","Database ODM / ORM"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FPhilWaldmann%2Fopenrecord","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FPhilWaldmann%2Fopenrecord","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FPhilWaldmann%2Fopenrecord/lists"}