You are not logged in.
Pages: 1
Hi,
I could not find this in the SAD, but how do I define a field as being not null? To define a field as unique, I would specify
'stored false' when defining a published property.
Someone?
Thanks,
Wai
fpcdeluxe, FPC 3.2 / Lazarus 2.0, mORMot on Windows 10 ...
Offline
There is no such feature by now, unless you use a custom validator pattern.
My concern about such a feature is that there is no NULLable value in Delphi (with the exception of the variants).
How could we map those values at Delphi code level???
See the SAD pdf about this point.
Offline
Okay. Then I have to find the solution it in Delphi.
Thank you for the answer.
fpcdeluxe, FPC 3.2 / Lazarus 2.0, mORMot on Windows 10 ...
Offline
Pages: 1