bx-orm-querying
Installation
SKILL.md
bx-orm: Querying & Entity BIFs
Entity Lifecycle BIFs
// Create a new in-memory entity
user = entityNew( "User" )
user.setUsername( "alice" )
user.setEmail( "alice@example.com" )
// Persist to the database (within a transaction)
transaction {
entitySave( user )
}
// Load by primary key
user = entityLoadByPK( "User", 42 )