Closed ion-elgreco closed 12 months ago
Currently the constraints are row-wise, but it would be nice to have the option to add columnar type of constraints or multi-columnar.
This way you can do unique check on multiple columns for example.
Actually never mind :)
I can also just add pl.struct('a', 'b').is_unique(), and put it as a constraint on a or b
pl.struct('a', 'b').is_unique()
Currently the constraints are row-wise, but it would be nice to have the option to add columnar type of constraints or multi-columnar.
This way you can do unique check on multiple columns for example.