agrafix / Spock

Another Haskell web framework for rapid development
https://www.spock.li
678 stars 56 forks source link

Best practice for multiple database? #120

Open flip111 opened 7 years ago

flip111 commented 7 years ago

What's the best practice in regard to multiple databases? I read in the tutorial that conn in SpockM conn sess st a is for "a database", where would i put the second database? I was planning to use Sqlite and ElasticSearch, then which one would be the primary one and which on the second? Or do i put them both in the same place?

dpwiz commented 7 years ago

You can always add any extra services to st, database or not.