Wappler Version: 3.5.6
Server Modal: nodejs
Database Type: mysql
Target: Docker Local
Just to add on to confirm this, when you add validate without a database connection in the server action, you are not able to see the database in the validate list when using exists in database.
I was able to get around the issue by adding a database connection prior to the validate just like @namakemono, but received the same error as he did in the web developer console.
I received the same error as @namakemono when doing the export to form as well.
In reference to @mgaussie, suggestion regarding ‘client’ vs. ‘type’, the global database json says ‘client’.
The database connection added right before the validate did not have any database connection options other than to reference the global database.
Note, the server action works just fine without the validate option.