Migrate RethinkDB data.
Migrate RethinkDB data.
(create migrations-dir migration-template provided-name)
Create a new migration with the current date and the name.
Create a new migration with the current date and the name.
(create-compound-index conn table-name index-name index-function)
(create-compound-index conn table-name index-name index-function options)
Create RethinkDB table compound index for the specified fields if it doesn't exist.
Create RethinkDB table compound index for the specified fields if it doesn't exist.
(create-index conn table-name index-name)
(create-index conn table-name index-name options)
Create RethinkDB table index for the specified field if it doesn't exist.
Create RethinkDB table index for the specified field if it doesn't exist.
(create-table conn db-name table-name primary-key)
Create a RethinkDB table with the specified primary key if it doesn't exist.
Create a RethinkDB table with the specified primary key if it doesn't exist.
(delete-table conn table-name)
Delete the specified RethinkDB table.
Delete the specified RethinkDB table.
(migrate db-map migrations-dir)
(migrate conn db-name migrations-dir)
Create the database (if needed) and the migration table (if needed) and run any migrations that haven't already been run on this DB.
Create the database (if needed) and the migration table (if needed) and run any migrations that haven't already been run on this DB.
(remove-properties conn table-name props)
Remove the specified properties (sequence of strings or keywords) from all docs in the specified table.
Remove the specified properties (sequence of strings or keywords) from all docs in the specified table.
(rename-table conn db-name old-table-name new-table-name)
Rename a RethinkDB table from the old name to the new name if it exists.
Rename a RethinkDB table from the old name to the new name if it exists.
(run-migration conn migrations-dir migration-name)
Run the migration specified by the migration name.
Run the migration specified by the migration name.
(table-list conn)
Return a sequence of the table names in the RethinkDB.
Return a sequence of the table names in the RethinkDB.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close