Can i use db_shards with mock option without using mongodb or something else?

7 views
Skip to first unread message

kahram...@gmail.com

unread,
Jan 23, 2015, 5:59:11 PM1/23/15
to chica...@googlegroups.com
Hello,

I added a new database to my app but still cant run my app with mock option. 

 {db_shards, [ 
     [ 
          {db_host, "localhost"}, 
          {db_adapter, mock}, 
          {db_port, 1978}, 
          {db_shard_models, [ip_database,saved_client]}  
      ] 
 ]},

This is what ive done. 
Just wondering what i do wrong. I can write on the other database without editing boss.config (adding shards) but when reading from database it doesnt work.
Or mock option doesnt run 2 databases?
Do i have to start working on mongodb?

Thanks.
Mert
Reply all
Reply to author
Forward
0 new messages