Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

rdb

Package Overview
Dependencies
Maintainers
1
Versions
266
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rdb - npm Package Compare versions

Comparing version 0.2.1 to 0.2.2

2

package.json
{
"name": "rdb",
"version": "0.2.1",
"version": "0.2.2",
"main": "index.js",

@@ -5,0 +5,0 @@ "title": "rdb",

@@ -10,55 +10,57 @@ __rdb__

Based on promises.
[Release notes](#release-notes)
All examples below are found at [npmjs.org/package/rdb-demo][0].
_Table of contents_
---------------
__Querying__
[getById][901]
[tryGetFirst][902]
[join][903]
[hasMany][904]
[hasOne][905]
[composite keys][906]
[getById eagerly][907]
[tryGetFirst eagerly][908]
[toJSON][909]
[toJSON with strategy][910]
[getMany][911]
[getMany lazily][912]
[getMany eagerly][913]
[manyToJSON][914]
[(many)ToJSON with strategy][915]
__Basic querying__
[getById](#getbyid)
[tryGetFirst](#trygetfirst)
[join](#join)
[hasMany](#hasmany)
[hasone](#hasone)
[composite keys](#compositekeys)
[getById eagerly](#getbyid-eagerly)
[tryGetFirst eagerly](#trygetfirst-eagerly)
[toJSON](#tjson)
[toJSON with strategy](#tojson-with-strategy)
[getMany](#getmany)
[getMany lazily](#getmany-lazily)
[getMany eagerly](#getmany-eagerly)
[(manyTo)JSON](#manytojson)
[(many)ToJSON with strategy](#manytojson-with-strategy)
__Persistence__
[update][916]
[insert][917]
[default values][918]
[conventions][919]
[update a join-relation][920]
[update a hasOne-relation][921]
[update a hasMany-relation][922]
[update](#update)
[insert](#insert)
[default values](#default-values)
[conventions](#conventions)
[update a join-relation](#update-a-join-relation)
[update a hasOne-relation](#update-a-hasone-relation)
[update a hasMany-relation](#update-a-hasmany-relation)
__Filtering__
[equal][923]
[notEqual][924]
[not][925]
[lessThan][926]
[lessThanOrEqual][927]
[greaterThan][928]
[greaterThanOrEqual][929]
[between][930]
[in][931]
[startsWith][932]
[endsWith][933]
[contains][934]
[exists][935]
[or][936]
[and][937]
[or alternative syntax][938]
[and alternative syntax][939]
[sub filter][940]
[composite filter][941]
__Filters__
[equal](#equal)
[notEqual](#notequal)
[not](#not)
[lessThan](#lessthan)
[lessThanOrEqual](#lessthanorequal)
[greaterThan](#greaterThan)
[greaterThanOrEqual](#greaterthanorequal)
[between](#between)
[in](#in)
[startsWith](#startswith)
[endsWith](#endswith)
[contains](#contains)
[exists](#exists)
[or](#or)
[and](#and)
[or alternative syntax](#or-alternative-syntax)
[and alternative syntax](#and-alternative-syntax)
[sub filter](#sub-filter)
[composite filter](#composite-filter)
_Contents_
---------------
<a name="getById"></a>
__[getById][1]__
### [getById][1]
```

@@ -105,4 +107,3 @@ var rdb = require('rdb');

```
<a name="tryGetFirst"></a>
__[tryGetFirst][2]__
### [tryGetFirst][2]
```

@@ -148,4 +149,3 @@ var rdb = require('rdb');

```
<a name="join"></a>
__[join][3]__
### [join][3]
```

@@ -204,4 +204,3 @@ var rdb = require('rdb');

```
<a name="hasMany"></a>
__[hasMany][4]__
### [hasMany][4]
```

@@ -264,4 +263,4 @@ var rdb = require('rdb');

```
<a name="hasOne"></a>
__[hasOne][5]__
### [hasOne][5]
```

@@ -321,4 +320,3 @@ var rdb = require('rdb');

```
<a name="compositeKeys"></a>
__[composite keys][6]__
### [compositeKeys][6]
```

@@ -382,4 +380,3 @@ var rdb = require('rdb');

```
<a name="getByIdEager"></a>
__[getById eagerly][7]__
### [getById eagerly][7]
```

@@ -437,4 +434,4 @@ var rdb = require('rdb');

```
<a name="tryGetFirstEager"></a>
__[tryGetFirst eagerly][8]__
### [tryGetFirst eagerly][8]
getById eagerly
```

@@ -498,4 +495,3 @@ var rdb = require('rdb');

```
__<a name="toJSON"></a>__
[toJSON][9]
### [toJSON][8]
```

@@ -566,4 +562,3 @@ var rdb = require('rdb');

```
<a name="toJSONWithStrategy"></a>
__[toJSON with strategy][10]__
### [toJSON with strategy][10]
```

@@ -634,4 +629,3 @@ var rdb = require('rdb');

```
<a name="getMany"></a>
__[getMany][11]__
### [getMany][11]
```

@@ -680,4 +674,3 @@ var rdb = require('rdb');

```
<a name="getManyLazy"></a>
__[getMany lazily][12]__
### [getMany lazily][12]
```

@@ -746,4 +739,3 @@ var rdb = require('rdb'),

```
<a name="getManyEager"></a>
__[getMany eagerly][13]__
### [getMany eagerly][13]
```

@@ -814,4 +806,3 @@ var rdb = require('rdb'),

```
<a name="manyToJSON"></a>
__[(many)ToJSON][14]__
### [(many)ToJSON][14]
```

@@ -882,4 +873,3 @@ var rdb = require('rdb');

```
<a name="manyToJSONWithStrategy"></a>
__[(many)ToJSON with strategy][15]__
### [(many)ToJSON with strategy][15]
```

@@ -950,4 +940,3 @@ var rdb = require('rdb');

```
<a name="update"></a>
__[update][16]__
### [update][16]
```

@@ -995,4 +984,3 @@ var rdb = require('rdb');

```
<a name="insert"></a>
__[insert][17]__
### [update][17]
```

@@ -1040,4 +1028,3 @@ var rdb = require('rdb');

```
<a name="defaultValues"></a>
__[default values][101]__
### [default values][101]
```

@@ -1095,4 +1082,3 @@ var rdb = require('rdb');

```
<a name="conventions"></a>
__[conventions][102]__
### [conventions][102]
```

@@ -1136,4 +1122,3 @@ var rdb = require('rdb'),

```
<a name="updateJoin"></a>
__[update a join-relation][18]__
### [update a join relation][18]
```

@@ -1189,4 +1174,3 @@ var rdb = require('rdb');

```
<a name="updateHasOne"></a>
__[update a hasOne-relation][19]__
### [update a hasOne relation][19]
```

@@ -1245,4 +1229,3 @@ var rdb = require('rdb');

```
<a name="updateHasMany"></a>
__[update a hasMany-relation][20]__
### [update a hasMany relation][20]
```

@@ -1308,4 +1291,3 @@ var rdb = require('rdb');

```
<a name="equal"></a>
__[equal][21]__
### [equal][21]
```

@@ -1352,4 +1334,3 @@ var rdb = require('rdb');

```
<a name="notEqual"></a>
__[notEqual][22]__
### [notEqual][22]
```

@@ -1396,4 +1377,3 @@ var rdb = require('rdb');

```
<a name="not"></a>
__[not][23]__
### [not][23]
```

@@ -1439,4 +1419,3 @@ var rdb = require('rdb');

```
__<a name="lessThan"></a>__
__[lessThan][24]__
### [lessThan][24]
```

@@ -1484,4 +1463,3 @@ var rdb = require('rdb');

```
<a name="lessThanOrEqual"></a>
__[lessThanOrEqual][25]__
### [lessThanOrEqual][25]
```

@@ -1529,4 +1507,3 @@ var rdb = require('rdb');

```
<a name="greaterThan"></a>
__[greaterThan][26]__
### [greaterThan][26]
```

@@ -1574,4 +1551,3 @@ var rdb = require('rdb');

```
<a name="greaterThanOrEqual"></a>
__[greaterThanOrEqual][27]__
### [greaterThanOrEqual][27]
```

@@ -1619,4 +1595,3 @@ var rdb = require('rdb');

```
<a name="between"></a>
__[between][28]__
### [between][28]
```

@@ -1663,4 +1638,3 @@ var rdb = require('rdb');

```
<a name="in"></a>
__[in][29]__
### [in][29]
```

@@ -1706,4 +1680,3 @@ var rdb = require('rdb');

```
<a name="startsWith"></a>
__[startsWith][30]__
### [startsWith][30]
```

@@ -1749,4 +1722,3 @@ var rdb = require('rdb');

```
<a name="endsWith"></a>
__[endsWith][31]__
### [endsWith][31]
```

@@ -1792,4 +1764,3 @@ var rdb = require('rdb');

```
<a name="contains"></a>
__[contains][32]__
### [contains][32]
```

@@ -1835,4 +1806,3 @@ var rdb = require('rdb');

```
<a name="exists"></a>
__[exists][33]__
### [exists][33]
```

@@ -1888,4 +1858,3 @@ var rdb = require('rdb');

```
<a name="or"></a>
__[or][34]__
### [or][34]
```

@@ -1934,4 +1903,3 @@ var rdb = require('rdb');

```
<a name="and"></a>
__[and][35]__
### [and][35]
```

@@ -1981,4 +1949,4 @@ var rdb = require('rdb');

```
<a name="orAlternative"></a>
__[or alternative syntax][36]__
### [or alternative syntax][36]
```

@@ -2028,4 +1996,3 @@ var rdb = require('rdb'),

```
<a name="andAlternative"></a>
__[and alternative syntax][37]__
### [and alternative syntax][37]
```

@@ -2077,4 +2044,3 @@ var rdb = require('rdb'),

```
<a name="subFilter"></a>
__[sub filter][38]__
### [sub filter][38]
```

@@ -2130,4 +2096,3 @@ var rdb = require('rdb');

```
<a name="compositeFilter"></a>
__[composite filter][39]__
### [composite filter][39]
```

@@ -2196,2 +2161,5 @@ var rdb = require('rdb');

```
### Release notes
__0.2.2__
Reformatted documentation. No code changes.

@@ -2198,0 +2166,0 @@ [0]:https://npmjs.org/package/rdb-demo

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc