question

Aravind D avatar image
0 Likes"
Aravind D asked Jason Lightfoot commented

How to use MongoDB in flexsim as database

HI,

1. I would like to get the input data from MongoDB to store it in the global table and store the output results to the global table and also directly in MongoDB. Please let me know how to connect to MongoDB from FlexSim.

. Thanks in advance for your help

FlexSim 19.2.0
database connectorsql servermongodb
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

Steven Hamoen avatar image
4 Likes"
Steven Hamoen answered Jason Lightfoot commented

@Aravind D Considering the fact that MongoDB is not supported in de DBConnector, there are 2 ways you can go.

1. Use the standard ODBC path. I think that MongoDB has an ODBC driver (at least a very quick google search tells me that)

2. Considering MongoDB is written in C++ it should not be to hard to use a native driver and create your own FlexSim dll that calls the database directly.

· 4
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.