🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

rethink-struct

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rethink-struct

## Overview Assert that databases, tables and indexes exists on you RethinkDB server and create it if they don't.

latest
Source
npmnpm
Version
2.0.2
Version published
Weekly downloads
13
333.33%
Maintainers
1
Weekly downloads
 
Created
Source

rethink-struct

Overview

Assert that databases, tables and indexes exists on you RethinkDB server and create it if they don't.

Support

If you like this package and you like what you see in the ad, please click on it to support rethink-struct! Sponsor

Requirements

  • Async/await support (Node 8 or Node 7 with harmony flag)

Index support

Currently, rethink-struct is the only RethinkDB initialisation package that supports all indexes:

  • Simple
  • Compound
  • Multi
  • Geo

How to assert ?

The package parse your schema and build the database as it should be. You can find an example of use in the example.js file.

Keywords

rethinkdb

FAQs

Package last updated on 06 Nov 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts