Can I use two databases in my app?

#1

I’m going to build an app that has multiple device types (mobile, desktop, browser).

I want to store certain types of data on the user’s computer/mobile device (e.g. emails) for security reason. I also want to have “share data” stored in the cloud.

Is it possible to have this separation in Wappler?

#2

Yes, it certainly is possible to have multiple databases. The catch is that I believe the server action can only be connected to one database. But you can certainly have as many databases as you like.

1 Like
#3

You can have as many databases as you want - with all different connections.

@brad even in one server action you can have multiple connections to different databases. That is why for each query you select which db connection to use.

3 Likes
#4

Yes, I used the wrong wording. I meant query - not action.

#5

Thanks gents! We need a “Solved” checkbox. :slight_smile: