Skip to content

Commit

Permalink
update query
Browse files Browse the repository at this point in the history
  • Loading branch information
ayoubfaouzi committed Sep 28, 2024
1 parent 5d567ee commit ab9597c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion db/user-likes.n1ql
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ FROM
UNNEST s.likes AS userLikes
) AS l
LEFT JOIN `bucket_name` f ON f.sha256 = l.sha256
WHERE f.`type` = "file"OFFSET $offset
WHERE f.`type` = "file"
OFFSET $offset
LIMIT
$limit

0 comments on commit ab9597c

Please sign in to comment.