Implements interfaces:
MR DB Record
Table record abstraction. Keep track of changes and only write to db when necessary.
Located in /db/record.php (line 41)
If true, then checks for column exists are bypassed.
Only use when performance is an issue (EG: processing hundreds of thousands) and that you KNOW all columns are correct
Changed values in the record
Is the record flagged to be deleted
The record
The record's table
Constructor
Return record count
Required by the Countable implementation
Return an iterator to iterate over the record data
Required by the IteratorAggregate implementation
Get record column names that are currently set
Does the record have changes to be saved?
Returns true when the record needs to be deleted or has changes that need to be saved.
Does the record need to be deleted?
Does the record need to be inserted?
Does the record need updating?
Proxy to __isset
Required by the ArrayAccess implementation
Proxy to __get
Required by the ArrayAccess implementation
Proxy to __set
Required by the ArrayAccess implementation
Proxy to __unset
Required by the ArrayAccess implementation
Flag the record for deletion, but don't actually delete it yet
This is mostly used in conjunction with mr_db_queue
Save the record.
The record can either be deleted, updated or inserted based on record ID and current state. Only performs these actions if actually necessary.
Set data to the record
Data names that do not match table columns will be ignored.
Get a record value
If a record value isset
Set a value to the record. Records changes.
Unset a record value
Documentation generated on Thu, 28 Jun 2012 16:33:50 -0700 by phpDocumentor 1.4.3