Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Guide: working with data-store #81

Open
mirceanis opened this issue Jul 12, 2021 · 1 comment
Open

Guide: working with data-store #81

mirceanis opened this issue Jul 12, 2021 · 1 comment
Labels
documentation Improvements or additions to documentation pinned

Comments

@mirceanis
Copy link
Contributor

No description provided.

@mirceanis mirceanis added the documentation Improvements or additions to documentation label Jul 12, 2021
@mirceanis
Copy link
Contributor Author

We need a guide for the @veramo/data-store plugin.
Through that plugin, veramo gains a powerful Query capability over the entities that it manages (Identifiers & keys, credentials, presentations, claims, messages).

Topics to cover:

  • setup (different database options)
    • migrations?
    • adapting to existing DBs
  • query examples for credentials (of a particular type, having certain claims, having certain issuers, ordering and time constraints)
    • perhaps show off some queries that would be useful for figuring out a Profile
  • query examples for Messages

Nice to have:

  • some notes on the save parameter that some agent methods use, and how it should be replaced by event driven "save decisions"
  • notes on updating existing entries in the DB

Relates to #44 #45 #48

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation pinned
Projects
None yet
Development

No branches or pull requests

1 participant