SilverCart\ORM\Connect\DBMigration::has_field
Returns whether the given $dataObject has the given $fieldName in DB.
Signature
public function has_field(DataObject
$dataObject,
string
$fieldName )
Parameters
$dataObject
— SilverStripe\ORM\DataObject- DataObject
$fieldName
— string- Field name
Returns
- bool