First of all make clear how you want to define and sctructure your database.
At first moment forget about the DATASETS (DDATASETS) are only connections to the DATABASES in the background.
So the most important is the structure of your databse (collection).
The structure will depend on what you want to achieve on your website and what kind of data you want to store inside your databse.
Like ‘Clube_Taberneiros’ already mentioned, you can use different types of fields, which also would change the structure and behaviour of your database and its corresponding elements on your page.
On other hand you also can first setup your page and place all elements you need first and then modify your database corresponding to the elements given on your page.
You have these 2 options where you can start with.
So let us first collect all information about your wishes…
- —> autofill ID number when login (where to autofill) ??? —> Make sure that your description is always complete and detailed.
This part is a separate code-part, since here you will have to determine and define a function which will be able to catch ID’S of logged-in members on your site…
SEE HERE: …
Once you have defined the current member and his ID, you can store (save) it inside your database, whereever you want.
- I’m trying to create a stock tracking website —> OK! What DB-Fields would you need to be found inside your database?
a) OWNER-ID
b) ITEM-ID
c) TITLE
d) NAME
e) WHATEVER
Create first the fields you already know, that they will be included inside your database.
Then define of which kind of type these fields would be…
a) STRING-DATA
b) ARRAY-DATA
c) OBJECT-DATA
d) IMAGE
e) and so on…
- There are many ways of how to structure your project’s database having all of them at the end the same result.
You can use either DATASETS like mentioned by you, or doing it by using wix-data and queries…
Take a look here…
…or for datasets here…
https://www.wix.com/velo/reference/wix-dataset/dataset
What you need is more then just a simple DATABASE + DATASET -SETUP