Using the dataprovider service, you get a list of datasets that are available on a provider. Providers can be web services (googleanalytics or googledrive), databases or plugins. For example, you could connect your PostgreSQL database by creating an account and then use the dataprovider 'create' action to add tables of that database to your users datasets via the API.
Once you have created a connection, or retrieved the id and provider name of your already established connection, you can now get a list of all the datasets available through that connection.
npm install @luzmo/nodejs-sdk{
"count": 1,
"rows": [
{
"schema": "public",
"table": "burritos",
"type": "table"
},
{
"schema": "public",
"table": "burrito_shops",
"type": "table"
},
{
"schema": "public",
"table": "test_view",
"type": "view"
}
]
}