File tree 1 file changed +3
-1
lines changed
1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 162
162
(:coerce-to (:pluck (:get-all (:table " boards_personas_link" ) persona-id :index (db-index " boards_personas_link" " to" )) (list " board_id" " to" )) " array" )
163
163
(:coerce-to (:pluck (:get-all (:table " boards_personas_link" ) persona-id :index (db-index " boards_personas_link" " from" )) (list " board_id" " to" )) " array" ))))
164
164
(cursor (r :run sock query-boards))
165
- (board-links (r :to-array sock cursor))
165
+ (board-links (if cursor
166
+ (r :to-array sock cursor)
167
+ # ()))
166
168
(nil (r :stop sock cursor))
167
169
(query-to (r :r (:delete (:get-all (:table " boards_personas_link" ) persona-id :index (db-index " boards_personas_link" " to" )))))
168
170
(query-from (r :r (:delete (:get-all (:table " boards_personas_link" ) persona-id :index (db-index " boards_personas_link" " from" )))))
You can’t perform that action at this time.
0 commit comments