Re: [chicagoboss] Access to the underline databae connection

25 views
Skip to first unread message

Kai Janson

unread,
Nov 27, 2014, 5:28:55 PM11/27/14
to chica...@googlegroups.com
Hi,

If you do a git clone https://github.com/ChicagoBoss/ChicagBoss.git there is a sample config directory that holds a sample config file for MongoDB that I wrote a longer time ago.

Also, if you wish to get low level access to the MongoDB's database driver there is an article to be found here : https://github.com/comtihon/mongodb-erlang

In this article he describes how to connect to the database on a low level for all your needed RAW access.  As a side note, it's up to you how many different databases you want to connect to from within one ChicagoBoss application, these are usually set up as shards in boss.config

--Kai

Sent from my non-google-device

On Nov 27, 2014, at 16:46, ENTR0PY <egos...@gmail.com> wrote:

Hello is there a way to get access to boss_db database connection?
In a recent post i learned boss_db currently did not facilitate raw queries againts MongoDB. A leter reply pointed out that MongoDB drivers were available as part of CB, this has led to this question. I know i could instanciate a connecton , but with boss_db already having a conneciton to the mongodb configured in the boss.config file i figured i should use that connection

--
You received this message because you are subscribed to the Google Groups "ChicagoBoss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chicagoboss...@googlegroups.com.
Visit this group at http://groups.google.com/group/chicagoboss.
To view this discussion on the web visit https://groups.google.com/d/msgid/chicagoboss/c80a3351-3e94-4f81-a645-043f379d73f0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

ENTR0PY

unread,
Nov 28, 2014, 6:18:23 AM11/28/14
to chica...@googlegroups.com
Thanks again....
Reply all
Reply to author
Forward
0 new messages