Ayon database write interaction

It was a Discord talk, then I realized it would be useful to save it for future search, so here is a copy :

.

.

.

.

.

A feature request was created here :
https://feedback.ayon.app/p/allow-to-find-in-which-workfiles-some-products-have-been

2 Likes

After exploring AYON links for a bit.

I wonder if it’s possible to query the current workfile entity and create a link to the product versions on loading.

So, I can select workfile entity when defining a link type.
I wonder, what’d be best version -> workfile or representation -> workfile.

Note, links works with entities, if something doesn’t have an entity record in DB such as publish instance in a scene, then it won’t be possible to create a link.

Links can then be visualized in node graph addon (However, it may need some love to ensure it works as expected).

Apparently, I can do this :point_down: This example works but it’s far from perfect.

And, I can see the result in pgAdmin.

1 Like