You've already forked OpenIntegrations
mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-11-29 22:27:42 +02:00
Main build (Jenkins)
This commit is contained in:
@@ -2,3 +2,8 @@
|
||||
Login = "bayselonarrend";
|
||||
Password = "12we...";
|
||||
Base = "main";
|
||||
|
||||
ConnectionParams = New Structure("authSource", "admin");
|
||||
ConnectionString = OPI_MongoDB.GenerateConnectionString(Address, Base, Login, Password, ConnectionParams);
|
||||
|
||||
Result = OPI_MongoDB.CreateConnection(ConnectionString);
|
||||
|
||||
10
docs/en/examples/MongoDB/ExecuteCommand.txt
vendored
10
docs/en/examples/MongoDB/ExecuteCommand.txt
vendored
@@ -2,3 +2,13 @@
|
||||
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);
|
||||
|
||||
8
docs/en/examples/MongoDB/GetDatabase.txt
vendored
8
docs/en/examples/MongoDB/GetDatabase.txt
vendored
@@ -2,3 +2,11 @@
|
||||
Login = "bayselonarrend";
|
||||
Password = "12we...";
|
||||
Base = "main";
|
||||
|
||||
ConnectionParams = New Structure("authSource", "admin");
|
||||
ConnectionString = OPI_MongoDB.GenerateConnectionString(Address, Base, Login, Password, ConnectionParams);
|
||||
Connection = OPI_MongoDB.CreateConnection(ConnectionString);
|
||||
|
||||
Base = "test_db";
|
||||
|
||||
Result = OPI_MongoDB.GetDatabase(Connection, Base);
|
||||
|
||||
Reference in New Issue
Block a user