All Downloads are FREE. Search and download functionalities are using the official Maven repository.

samples.statements.delete.pec Maven / Gradle / Ivy

define Person as storable category with attribute name'

define main as method doing:
    p1 = Person with "John" as name
    store p1
    p2 = fetch one Person where name = "John"
    printLine "Person.name -> " + p2.name
    delete p2
    p3 = fetch one Person where name = "John"
    if p3 is nothing:
        printLine "deleted!"




© 2015 - 2025 Weber Informatics LLC | Privacy Policy