Liking cljdoc? Tell your friends :D

ventas.database.seed


get-sorted-typesclj

(get-sorted-types)

Returns the types in dependency order

Returns the types in dependency order
sourceraw docstring

seedclj

(seed & {:keys [recreate? generate?]})

Migrates the database and transacts the fixtures. Options: recreate? - removes the db and creates a new one generate? - seeds the database with randomly generated entities

Migrates the database and transacts the fixtures.
Options:
  recreate? - removes the db and creates a new one
  generate? - seeds the database with randomly generated entities
sourceraw docstring

seed-numberclj

(seed-number type)
source

seed-typeclj

(seed-type type n)

Seeds the database with n entities of a type

Seeds the database with n entities of a type
sourceraw docstring

seed-type-with-depsclj

(seed-type-with-deps type n)
source

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

× close