API WIX USER TO WIX MEMBER

I think you mix it up.

What is a database?
A database is = Collection and Collection is = database.
You store all your items inside your database in different database-fields (rows and columns) like on an microsoft’s excel-sheet.

What is a -->DATASET<-- ???
A dataset is some kind of a connection (wire) between the databse and a displaying element, like —> REPEATER, TABLE, GALLERY, HTML-COMPONENT, TEXT-BOX and so on…

In your code you don’t have any codeline, which is related to a dataset.

  1. Copy and paste my provided code onto your page.
  2. Publish your website.
  3. Run the code, by logging in onto your website and opening the related page, where you placed the code.
  4. Press F12 on your keyboard, while you are in your Webbrowser (google-chrome).
  5. Navigate to —> CONSOLE !
  6. Take a look onto the given results → you will understand the rest.