Liking cljdoc? Tell your friends :D

image-lib.keywords


add-keywordclj

(add-keyword db keyword-collection new-keyword parent)

Add a new keyword

Add a new keyword
sourceraw docstring

add-sampleclj

(add-sample db keyword-collection kw sample)

Adds a sample image to a keyword

Adds a sample image to a keyword
sourceraw docstring

all-keywordsclj

(all-keywords db keyword-collection)

returns all the keyword ids

returns all the keyword ids
sourceraw docstring

all-sub-keywordsclj

(all-sub-keywords database kw-collection)
source

delete-keywordclj

(delete-keyword db keyword-collection kw)
(delete-keyword db keyword-collection kw parent)

Remove a keyword

Remove a keyword
sourceraw docstring

disconnect-keywordclj

(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
sourceraw docstring

find-keywordclj

(find-keyword database kw-collection keyword-name)
source

find-parentsclj

(find-parents db keyword-collection kw)

given a keyword, returns a list of the parents

given a keyword, returns a list of the parents
sourceraw docstring

find-sub-keywordsclj

(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
sourceraw docstring

keyword-pathclj

(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
sourceraw docstring

move-keywordclj

(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
sourceraw docstring

parentclj

(parent db keyword-collection kw)

given a keyword returns the _id of the parent

given a keyword returns the _id of the parent
sourceraw docstring

safe-delete-keywordclj

(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
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close