Datasource in different branch
Options
![Niraj Chourasia](https://us.v-cdn.net/6037124/user_avatars/1901481.jpg)
Niraj Chourasia
Member ✭
Hi all,
We have setup different branch for development purpose now. The question is new branch still using the live database. So how we can change the datasource for different branches. So test data would not affact live datasource.
We have few functions which we directly run at xano through xano platform, so there are no apis for some requirements.
Please let me know.
Thanks in advance.
Cheers
We have setup different branch for development purpose now. The question is new branch still using the live database. So how we can change the datasource for different branches. So test data would not affact live datasource.
We have few functions which we directly run at xano through xano platform, so there are no apis for some requirements.
Please let me know.
Thanks in advance.
Cheers
Comments
-
Hi ,
Data sources are selected in the admin panel when working within xano or though headers/arguments when using the API. The documentation here goes into detail on how to do that.
https://docs.xano.com/database/data-sources -
Hi , if i will change data source here will it affact live api data storing. I meant will live api still use the live data.[Xano (6).png]
-
By default the api is always using the live data source. You have to use the header or url argument to change it via the API.
Categories
- All Categories
- 53 ? Announcements
- 47 ? Releases
- 37 ? Welcome
- 983 ? Help! I'm a Noob
- 125 ? No-Code Front-Ends
- 633 ? Working with APIs
- 439 ? Transforming data
- 126 ? Connect Xano to ...
- 50 ?? Find an Expert
- 348 ❓Other questions
- 35 ? Security
- 22 ✂️ Snippets
- 19 ? Showcase
- 7 ?️ Xano Chatter
- 62 ? Video Tutorials
- 171 ? Request a feature
- 229 ? Report a Bug
- 19 ? Templates & Extensions
- 7 ? Feedback