{"id":22100393,"url":"https://github.com/homuchen/rethinkdb-store","last_synced_at":"2026-04-30T00:36:07.218Z","repository":{"id":65489764,"uuid":"151226833","full_name":"HoMuChen/rethinkdb-store","owner":"HoMuChen","description":"A high level nodejs rethinkdb client library","archived":false,"fork":false,"pushed_at":"2019-02-23T03:12:41.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-16T10:36:41.893Z","etag":null,"topics":["datastore","nodejs","rethinkdb"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/HoMuChen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-10-02T08:55:54.000Z","updated_at":"2019-02-23T03:12:42.000Z","dependencies_parsed_at":"2023-01-25T17:25:11.128Z","dependency_job_id":null,"html_url":"https://github.com/HoMuChen/rethinkdb-store","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HoMuChen%2Frethinkdb-store","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HoMuChen%2Frethinkdb-store/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HoMuChen%2Frethinkdb-store/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HoMuChen%2Frethinkdb-store/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HoMuChen","download_url":"https://codeload.github.com/HoMuChen/rethinkdb-store/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245195916,"owners_count":20575936,"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":["datastore","nodejs","rethinkdb"],"created_at":"2024-12-01T05:13:56.530Z","updated_at":"2026-04-30T00:36:07.188Z","avatar_url":"https://github.com/HoMuChen.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rethinkdb-store\nA high level nodejs library for accessing rethinkdb data.\n\n## Install\n``` bash \n$ npm install rethinkdb-store\n```\n\n## Usage\n```javascript\nconst store = require('rethinkdb-store');\n\n//Or config througth environment vars `RTK_HOST`, `RTK_PORT`, `RTK_DB`\nstore.setConfig({\n  host: 'localhost',\n  port: 28015,\n  db: 'test'\n})\n```\n\n### Writing data\n```javascript\nstore.insert({host, port, db, table, docs}) -\u003e object\n```\n\n```javascript\nstore.upsert({host, port, db, table, docs, resolver}) -\u003e object\n```\n\n``` javascript\nstore.delete({host, port, db, table, id}) -\u003e object\n```\n\n### Selecting data\n```javascript\nstore.getById({host, port, db, table, id, fields}) -\u003e object\n```\n\n```javascript\nstore.getAll({host, port, db, table, fields}) -\u003e object\n```\n\n```javascript\nstore.getByIndex({host, port, db, table, index, value, page, size, fields}) -\u003e object\n```\n\n``` javascript\nstore.sampleByIndex({host, port, db, table, index, value, sample, fields}) -\u003e object\n```\n\n``` javascript\nstore.getByIndex({host, port, db, table, index, value, page, size, fields}) -\u003e object\n```\n\n``` javascript\nstore.betweenByIndex({host, port, db, table, index, from, to, page, size, fields}) -\u003e object\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhomuchen%2Frethinkdb-store","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhomuchen%2Frethinkdb-store","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhomuchen%2Frethinkdb-store/lists"}