Signed-off-by: dusk y.bera003.06@protonmail.com
Monorepo for Tangled โ https://tangled.org
appview: db: follow: add GetFollowers and GetFollowing functions to fetch Follows #483
merged
opened by
STACK 4
0
comments
round
#5
0
comments
round
#5
0
comments
round
#13
1
comment
round
#2
expand 1 commit
hide 1 commit
appview: db: follow: add GetFollowers and GetFollowing functions to fetch Follows
Signed-off-by: dusk <y.bera003.06@protonmail.com>
expand 1 commit
hide 1 commit
appview: db: follow: add GetFollowers and GetFollowing functions to fetch Follows
Signed-off-by: dusk <y.bera003.06@protonmail.com>
expand 1 commit
hide 1 commit
appview: db: follow: add GetFollowers and GetFollowing functions to fetch Follows
Signed-off-by: dusk <y.bera003.06@protonmail.com>
this is pretty cool! couple of points:
GetFollow*methods are a bit repetitive (in part due to thedatabase/sqlAPIs), can we dedup them like we do in the rest of the codebase? the approach we use here is to writeGetItem(e Execer, filters ...filter) ([]Item, error)and then use filters to create more specific getters. you can look atdb/spindlesfor an exampleGetFollowStatusi think