SilverStripe\Versioned\Versioned::isLatestVersion
Returns whether the current record is the latest one.
Signature
public function isLatestVersion()
Returns
- boolean
Line | Task |
---|---|
2775+ | Performance - could do this directly via SQL. |