Support automatic SQL NULLABLE via std::optional #2

Open
opened 2024-01-16 19:33:31 +01:00 by sascha · 0 comments
Owner

Support automatic SQL NOT_NULL via std::optional. Each type in an entity class should automatically be "NOT_NULL". If wrapped with an std::optional the constraint is removed so that SQL NULL is possible. This should also apply for belongs_to and has_one.

Support automatic SQL NOT_NULL via std::optional. Each type in an entity class should automatically be "NOT_NULL". If wrapped with an std::optional<Type> the constraint is removed so that SQL NULL is possible. This should also apply for ```belongs_to``` and ```has_one```.
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: sascha/query#2
No description provided.