Reputation: 1
In Wakanda 1.1 I used "model.mergeSQLCatalog()" to see the MySql db that I was wanting to work with, as per the documentation. Trying to do the same in Wakanda 2, it tells me that that model.mergeSQLCatalog() is not a function. I get the feeling that I am missing something really obvious, but for the life of me I can't see what it is. Can someone enlighten me please? (I am working with a trial license)
Upvotes: 0
Views: 142
Reputation: 478
model.mergeSQLCatalog()
is deprecated since v2.0.0
.
To keep working, add a SQL model:
models
folder > new
> model
MySQL
A new model folder is created where you can put your old model.js
file.
Here some official doc that can help you : https://wakanda.github.io/doc/#/guide?section=main-data-external
Upvotes: 2