Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrate text box

...

Code Block
languagebash
titleClearMongoDB
@echo off 

set PATH_MONGO="C:\Program Files\Blueriq14\tools\mongo\bin"
set PATH_DATABASE="mongodb://blueriq:welcome@localhost:14088"

echo.
echo ## Dropping tasks collection from DCM lists (true means success)
%PATH_MONGO%\mongo.exe %PATH_DATABASE%/tasks --eval "db.tasks.drop()"

echo.
echo ## Dropping cases collection from DCM lists (true means success)
%PATH_MONGO%\mongo.exe %PATH_DATABASE%/tasks --eval "db.cases.drop()"

echo.
echo ## Dropping cases collection from Case Engine (true means success)
%PATH_MONGO%\mongo.exe %PATH_DATABASE%/caseEngine --eval "db.cases.drop()"
Info
UI Text Box
typenote

Set the PATH_MONGO to the mongo installation, and the PATH_DATABASE to the database service that is running on your environment. Defaults for Blueriq 14 are used in the bat file above.

UI Expand
titleRelated articles

Content by Label
showLabelsfalse
max5
spacesBKB
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel in ("h2","mongodb") and type = "page" and space = "BKB"
labelsh2 MongoDB

...