Databases connections are now added under Globals and not in every separate server action. Once defined under globals they are available for all the server actions.
Yes, I’ve created a Database Connection under Globals, but I can no longer select that database connection in the Steps of an API Action. There was an Add Database Connection in the Database Action list where I could then select from the Database Connection in the Globals list.
@jonkinen
When you add the connection in Globals you can directly select it from the dropdowns in the steps using a database connection. No need to add the connection again in the steps! That’s the whole point of globals - you define it once, not in every server action.
I’ve only been using Wappler a few weeks, and it was my understanding that after you create a Database Connection in the Globals you then use the Add Database Connection from the Database Actions in your Steps where you select the connection from the Globals. Today when I was starting a new set of Steps the Add Database Connection was missing from the Database Actions list.
I see now that the selection of the Globals database connection takes place in each query. The Add Database Connection must have been removed from the Database Actions list recently, since I used it to set up my existing Steps in the past few weeks.