Skip to main content

Datastores

Verida Datastores are databases with a defined schema. By sharing a schema applications can share data more easily. Datastores ensure all data saved in them is valid by enforcing data validation. Read more about datastores here.

See a walk through of the code

Try it out

In this demo we show three things:

  • how attempting to save a record with invalid data (in this case an email address) will fail (the saveBadContact function)
  • how saving valid data is successful (the saveGoodContact function)
  • how to retrieve all data (the showContacts function)
Live Editor
Result
Loading...
 

Database documentation

See the Verida Datastore documentation for complete documentation.