How to use versionstamp as a column of primary key in record layer

hi all,
I am using record layer, and need to add a versionstamp column into primary key.
does record layer support? or any idea?

Best regards,

Hi David,

This feature is not yet available, there is an Github issue for that. In my own layer powered by the record-layer, I cheated and used the readVersion by hand instead of versionstamp(really unhappy with it but that’s on my TODO list :blush:)

Thanks Pierre.

How about adding a uuid key into primary key and using version index too?

Not sure about the UUID, but the version index is working great, here’s an example from my layer.