Can anyone explain how the UUID() function works?

Hi,

I’m curious to know how the UUID() function in N1QL works. Can anyone give a rough overview?

Thanks.

Thanks for replying.

I’m specifically interested in the UUID() function itself. i.e. How is the full UUID generated? What variables are used to create a unique ID over the whole cluster?

Thanks.

UUID generates a random UUID according to RFC 4122

1 Like

@vsr1 Perfect, thanks!