How can I delete an item from tinyWEBdb if I don't know index?
The tag or the index? If you have the tag where a list is stored, you can always retrieve the list and find the item's index in the list. For example, if you have the tag "names" and at some point in the past stored ["alice", "bob", "charlie", "eve"], and in the future don't know what position "charlie" was, you would retrieve the tag "names", iterate over the list and manipulate it, and then write the updated value back with StoreValue.
@ewpatton thank you very much for your answer , and sorry if I reply eith delay.
I made an app (with tinydb and .ClearTag block) where after a time interval some tag are deleted from database.
I would like to make the same app but with tinyWebdb (where there is not the same block).
You say... ok, makr a tag list, find the index of my item in list and remove it.
The problem with index is that users can add items constantly, so varying the index numbers constantly.
What is the solution for this?
TinyWebDB is probably not suited to the use you require.
Have a look at CloudDB or Firebase realtime database.
Are free databases?
What is the best?
What about differences (capacity) respect tinywebdb?
Is it possible to create a custom database with these (not shared with other users) ?
Are free databases?
Yes (free as in beer, depends on usage level for firebase)
What is the best?
Depends on your needs
What about differences (capacity) respect tinywebdb?
TinyWebDB probably worst in terms of capacity/capability
Is it possible to create a custom database with these (not shared with other users) ?
Probably
It sounds like you need to maintain a full and up to date copy of your online data on every device, to handle user updates. I would suggest a database that offers the DataChanged listener to help keep everything up to date. CloudDB and Firebase should be atomic, which should avoid collisions.
Ok. I have read something regarding CloudDB. It seems that usage is similar to tinyWEBdb, but with cloudDB I have the clearTag block. Perfect.
But how set ID, port, server, token?
Is it necessary to make my own custom cloudDB (as for tinyWEBdb) in order to avoid that other users overwrite and/or have access to private info?
How and where to check for my cloudDB memory availability/capacity?
Does exist a guide like for tinyWEBdb?
If not intending to use the MIT provided redis instance see here:
or a left field approach:
To find out more, why not use the community's SEARCH facility and look in the FAQ section.
... it seems that setup a custom server for tinyWEBdb is more simple than for Redis...
I'm awaiting for other solutions with tinyWEB db.
Alternatively, I will use your precious suggestions on CloudDB.
Tank you!