Skip to content

Model Object

isPersisted()

isPersisted() — returns boolean

Available in: model Category: Miscellaneous Functions

Returns true if this object has been persisted to the database or was loaded from the database via a finder. Returns false if the record has not been persisted to the database.