(add-keyword db keyword-collection new-keyword parent)
Add a new keyword
Add a new keyword
(add-sample db keyword-collection kw sample)
Adds a sample image to a keyword
Adds a sample image to a keyword
(all-keywords db keyword-collection)
returns all the keyword ids
returns all the keyword ids
(delete-keyword db keyword-collection kw)
(delete-keyword db keyword-collection kw parent)
Remove a keyword
Remove a keyword
(disconnect-keyword db keyword-collection keyword parent)
Removes keyword from parent keyword but doesn't delete it
Removes keyword from parent keyword but doesn't delete it
(find-parents db keyword-collection kw)
given a keyword, returns a list of the parents
given a keyword, returns a list of the parents
(find-sub-keywords database keyword-collection given-keyword)
given a keyword entry returns a list of all the sub keywords
given a keyword entry returns a list of all the sub keywords
(keyword-path db keyword-collection kw)
Given a keyword, returns it's full path as a vector
Given a keyword, returns it's full path as a vector
(move-keyword db keyword-collection kw old-parent new-parent)
Move a keyword from one parent to another
Move a keyword from one parent to another
(parent db keyword-collection kw)
given a keyword returns the _id of the parent
given a keyword returns the _id of the parent
(safe-delete-keyword db keyword-collection kw)
(safe-delete-keyword db keyword-collection kw parent)
Delete a keyword, but only if it has no sub keywords
Delete a keyword, but only if it has no sub keywords
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close