Id as the primary key.
Id as the primary key.
If your entity's primary key is not single numeric value, implement this method as a dummy(e.g. UnsupportedOperationException) override #primaryKeyCondition.
id
Returns skinny.orm.SkinnyCRUDMapperWithId for this SkinnyRecord.
Returns skinny.orm.SkinnyCRUDMapperWithId for this SkinnyRecord.
mapper
Returns attributes to persist.
Returns attributes to persist.
attributes
Destroys this entity in DB.
Destroys this entity in DB.
db session
deleted count
Returns attribute names to be excluded when persistence.
Returns attribute names to be excluded when persistence.
names
Saves this instance in DB.
Saves this instance in DB. Notice: this methods only can update existing entity.
db session
self
ActiveRecord::Base-like entity object base.
id
entity