samples.categories.storing-partial.pec Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of WebSite Show documentation
Show all versions of WebSite Show documentation
Prompto Documentation Web Site POM
define firstName as storable Text attribute
define lastName as storable Text attribute
define dateOfBirth as Date attribute
define Person as storable category with attributes firstName, lastName and dateOfBirth
define main as method doing:
p1 = Person with "Arthur" as firstName, "Rimbaud" as lastName and '1854-10-20' as dateOfBirth
store p1
printLine "p1 -> " + p1
p2 = fetch one Person where lastName = "Rimbaud"
printLine "p2 -> " + p2
© 2015 - 2024 Weber Informatics LLC | Privacy Policy