Add Database Connection is missing

OS info

  • Operating System : Windows 10.0.19041
  • Wappler Version : 3.8.2
    NodeJS application

Problem description

The Add Database Connection is missing from the Database Actions list in Server Connect.

Steps to reproduce

  1. Go to Server Connect.
  2. Select an API Action.
  3. Navigate to Steps and right click mouse.
  4. Select Database Actions
  5. Voila! No “Add Database Connection”

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.

The Add Database Connection option is missing:

@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.

Thanks for the update.