Factories for general-purpose database query restrictors.
Factories for general-purpose database query restrictors.
(company-id user _ _)
Query restriction for setting :company-id
to the ID of the company which
the signed-in user belongs to.
Query restriction for setting `:company-id` to the ID of the company which the signed-in user belongs to.
(user-id user _ _)
Query restriction for setting :user-id
to the ID of the signed-in user.
Query restriction for setting `:user-id` to the ID of the signed-in user.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close