G
G
geebv2017-03-20 08:06:42
Algebra
geebv, 2017-03-20 08:06:42

Is it safe to store a relation between two uuid4s as a disjunction?

There are uuid values.
If we take a disjunction, then we get a value by which we can determine the relationship
a, b, c
ab = a OR b
ab AND a == a
ab AND b == b
ab AND c != c
I wonder how safe it is to store, are there any nuances in terms of overflow and other nuances?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Rsa97, 2017-03-20
@Rsa97

a = 01
b = 10
ab = a | b = 11
c = 00
ab & c = 11 & 00 = 00 = c
d = 11
ab & d = 11 & 11 = 11 = d

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question