-
JugglingDB has a `Model.validatesUniquenessOf()` method that I find very useful. Say I'm creating a table of aliases, and want to ensure no duplicate aliases are created.
Internally all it does is ge…
-
While people probably won't change poolMin/poolMax, it would make things cleaner
-
As I am not sure what the desired behavior should be, I wanted to start a discussion on `enforce: missing` and it's timing.
At the moment, this option is enforced in `Model.checkType()`, which is cal…
-
Now people have to chain a hasMany and hasOne relations.
The syntax is pretty bad because:
- They have to create twice the model if they need to be able to get both sides joined documents (circular re…
-
I think doing a shallow merge is inconsistent with being able to define nested objects.
I'd expect to be able to do a partial update on a piece of the nested object, without presenting the whole of t…
-
A possible feature to look at in the future is to add the ability to make model fields unique, so before the document is saved, make sure the defined fields are unique in the table. This could be done…
-
The latest RethinkDB module, 1.12.0-0, breaks execution of any Connection object run() methods. Need to modify this method in reheat to pass a rethinkdb connection object as not passing it is deprecat…
-
Right now there doesn't seem to be a way to manually control the order of items in a HasMany relationship. In order to support this, it would require to maintain an array with all the item-ids, which …
-
It would be nice if we could supply a function in the model definition, named something like `_validator` that was run with with the field in it's arguments, and either returned `true` or `false`. Thi…
-
Hi there,
First off: :heart: thinky.
I'm running into an error trying to use a secondary index in a `getAll` query, as seen below:
``` javascript
var thinky = require('thinky');
thinky.init({db: 't…