db_shard configuration, it's in the sample boss.config
%% Database sharding
%% A list of proplists with per-shard database configuration.
%% The proplists override the above options, and should contain two
%% additional options:
%% {db_shards, [
%% [
%% {db_host, "localhost"},
%% {db_adapter, mysql},
%% {db_port, 3306},
%% {db_username, "dbuser"},
%% {db_password, "dbpass"},
%% {db_database, "database"},
%% {db_shard_id, shard_id_atom},
%% {db_shard_models, [model_atom_1, model_atom_2,
%% model_atom_3, etc]}
%% ]
%% ]},
I guess you can connect to multiple or the same types of database, anybody
care to confirm as I have not used more than the one connection so far.
There are examples on this group if you look, I've seen at least one
poasting asking similar questions.
--
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 [email protected].
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/CAEiEuULHdd0u97F-KJ7ytb8fatR7EmMcMHKv5vYCdud8x4ZCoA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.