ironhee
ironhee
But type option create 'different' relationship. What I need is use same relationship table.
``` js const User = thinky.createModel('User', { id: type.string(), }); User.hasAndBelongsToMany(User, 'followings', 'id', 'id', { type: 'followings', }); User.hasAndBelongsToMany(User, 'followers', 'id', 'id', { type: 'followers', }); User.define('follow', function(targetUser) { return...
@SagiUziel I had same problem about that. Thinky is really good library and handle so many things. But In that case, I can't find a way to handle that issue....
OMG
좋은 글 번역 감사합니다.