-
I've been getting the following error when trying to register some relations:
```
(node) warning: possible EventEmitter memory leak detected. 11 listeners added. Use emitter.setMaxListeners() to incr…
-
It's kind of the second part of https://github.com/neumino/thinky/issues/
Use case:
```
session1.linkedSession = session2;
session2.linkedSession = session1;
session1.save({saveJoin: true}, …);
```…
-
Reported by @pilwon (phuh on IRC)
@pilwon created a cluster of two instances on ubuntu 13.10 with rethinkdb 1.12.0 then ran `rethinkdb restore` to load his data. Then one of the instances died.
When…
AtnNn updated
10 years ago
-
What is the recommended way to clear a HasOne reference?
Say we have referenced these two objects:
```
myObject.info = otherObject;
myObject.save(...);
```
Once this isn't valid anymore, there shou…
-
Just ran into a 'maximum call stack' error while trying to port a relatively simple mongoose project to thinky. I basically store objects with the same model type in a table, but need occasional refer…
-
I need to clear a table before each test I run. What is the proper way to do that?
So far I've tried piggybacking on Model.execute():
```
Entity.execute(db.table('Entity').delete(), function (error)…
-
Because I changed the design of thinky a few times, there is some not pretty code in a few places.
It also lacks comments...
-
I haven't found a way to be notified when at least one database connection is open - and vice versa, when the last connection has been closed. I'd suggest to pass in a callback parameter to thinky's i…
-
I just tried to set up something like the following:
one `user` has many `posts` and one `post` has one `user`
Classical One-to-Many relationship. But is seems that I can not do it like so:
```
Use…
-
I just learned about compound indexes in RethinkDB but they do not work with Thinky.
Here is the problem: [query.js line of code](https://github.com/neumino/thinky/blob/b13fe0d2aef1b387aff55a09531a4b…