Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

what's the concept of mandatory in orientdb?

I'm trying OrientDB.

Most of concepts are easy and clear to understand. But there was one unfamiliar concept. The mandatory. What's this?

like image 738
eonil Avatar asked Feb 22 '23 08:02

eonil


2 Answers

Are you talking about mandatory schema properties? If yes this means you can use OrientDB in schema-less mode but defining some properties as mandatory.

like image 117
Lvca Avatar answered Feb 27 '23 15:02

Lvca


Mandatory means you have to provide a value for that property when creating a new instance/row. It's like SQL's "Not Null"

like image 21
Paul Fryer Avatar answered Feb 27 '23 14:02

Paul Fryer