> Le 8 févr. 2019 à 20:18, Christian Sakowski via 4D_Tech
> <[email protected]> a écrit :
>
>> I went much simpler…
>
> This is quite the same, but the problem with this approach is, that i cannot
> parse relations generically.
I do agree, a name that allows to identify the function is great:
find regex("^FK_";property;1) -> foreign key
find regex("_p$";property;1) -> many to one relation
And these names are not supposed to change every day…
--
Arnaud de Montard
**********************************************************************
4D Internet Users Group (4D iNUG)
Archive: http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub: mailto:[email protected]
**********************************************************************