Fork me on GitHub
#fulcro
<
2022-06-16
>
sheluchin14:06:04

Is it possible to use RAD with multiple different databases simultaneously?

sheluchin14:06:46

I guess it's just a matter of putting auto-resolvers somewhere generic and calling some-adapter/generate-resolvers with the set of attributes that you want for that adapter? https://github.com/fulcrologic/fulcro-rad-demo/blob/1ba6973b2a461f2db9d75d7ab0f529432177d278/src/sql/com/example/components/auto_resolvers.clj#L14=

tony.kay15:06:22

It is designed for exactly that use-case.

tony.kay15:06:08

RAD front-end knowns nothing about real data sources, only EQL queries, and the back-end is designed (queries and even with form save) to be able to hit any number of databases.

sheluchin19:06:52

Thanks @U0CKQ19AQ. Going to try a mix of a document db for the bulk of the application logic while using SQL for heavy report/chart queries.

❤️ 1