Skip to content

Can edgeDB as "Graph Relational Database" be used for Data Graphs (~Graph Database)? #3964

Answered by raddevon
D1no asked this question in Q&A
Discussion options

You must be logged in to vote

change histories

You could create a Change type to hold whatever audit data you need — probably a timestamp and a link to an author, at minimum. Then each of your other types could have a multi link changes that could link to each of its changes. This could be implemented on an abstract type (perhaps Auditable) with a changes link that could be extended by all the types you want to be able to audit.

For now, you would have to insert these changes via your application, but the upcoming triggers feature will allow you to do it on the database.

who edited what

The approach described above would also address this.

traversing "a graph"

For a given object, you could traverse its changes:

s…

Replies: 6 comments 7 replies

Comment options

You must be logged in to vote
3 replies
@danformore
Comment options

@dodyg
Comment options

@janwirth
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@D1no
Comment options

@dodyg
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@D1no
Comment options

@elprans
Comment options

Answer selected by D1no
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
8 participants