-
I am attempting to use the n-n relation using hasAndBelongsToMany() in thinky to define circular relations as "parents" and "children". Although the feature is working, I was wondering if there is a w…
-
I'm looking for something similar to mongoose plugins to add/mixin commonly used methods (define, defineStatic) and/or schema properties.
-
Hey,
I am attempting to get pagination working using limit, offset, and order to no avail. I keep getting back the first 50 results and I am unsure if I am doing anything wrong.
I am attempting …
-
I have a `candidates` schema with a field `contactDetails` containing an object. The test named in the issue uses this logic to determine a field to query with:
``` javascript
const property = Object…
-
I have tests running on travis-ci but I have to put the timeout on them to 5000> because the first test that runs causes the tables to be created, is there a way to call the auto table creation with a…
-
I want to use `User_User_following` table to handle `user.followings` and `user.followers`.
``` js
const User = thinky.createModel('User', {
id: type.string(),
});
User.hasAndBelongsToMany(User, '…
-
-
Implement a lightweight ORM around `reql` inspired by https://thinky.io to add convenient features like automatic table creation and automatic dropping of relations.
-
While rewriting thinky, I ran into a few problems:
- `r.table("foo").indexList()` doesn't list the primary key.
So if I want to know if the `key` passed can be used in `getAll`, I have to use `index…
-
The current implementation of `hasAndBelongsToMany` gives only the _relational database way_ of dealing with it: add and auxiliary table to hold the relation of these 2 indexes.
I found this not to b…
deoqc updated
7 years ago