Newer
Older
<?php
namespace calderawp\CalderaFormsQuery\Delete;
class EntryValues extends DeleteQueryBuilder
{
/**
* Delete field by entry ID
*
* @param int $entryId Entry ID
* @return $this
*/
public function deleteByEntryId($entryId)
{
$this
->getDeleteQuery()
->where()
;
return $this;
}
/**
* Delete all field values with a value
*
* @param string $fieldSlug
* @param string $fieldValue
* @return $this
*/
public function deleteByFieldValue($fieldSlug, $fieldValue)
{
$this
->getDeleteQuery()
->where()
;
$this
->getDeleteQuery()
->where()