You've already forked OpenIntegrations
mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-11-29 22:27:42 +02:00
15 lines
509 B
Plaintext
Vendored
15 lines
509 B
Plaintext
Vendored
Address = "127.0.0.1:1234";
|
|
Login = "bayselonarrend";
|
|
Password = "12we...";
|
|
Base = "main";
|
|
|
|
ConnectionParams = New Structure("authSource", "admin");
|
|
ConnectionString = OPI_MongoDB.GenerateConnectionString(Address, Base, Login, Password, ConnectionParams);
|
|
|
|
Command = "listDatabases";
|
|
Data = New Structure("nameOnly", True);
|
|
|
|
Connection = OPI_MongoDB.CreateConnection(ConnectionString);
|
|
|
|
Result = OPI_MongoDB.ExecuteCommand(Connection, Command, , , Data);
|