public function remove($table, $pkField, $pkValue)
	{
		// Make sure we have an id (i.e. don't delete everything in the table!)
		if (is_null($pkValue) || empty($pkValue))
		{
			return false;
		}

		// Add delete statement
		$this->delete($table)
		     ->whereEquals($pkField, $pkValue);

		// Return result of the query
		return $this->execute();
	}
public function remove($table, $pkField, $pkValue)
	{
		// Make sure we have an id (i.e. don't delete everything in the table!)
		if (is_null($pkValue) || empty($pkValue))
		{
			return false;
		}

		// Add delete statement
		$this->delete($table)
		     ->whereEquals($pkField, $pkValue);

		// Return result of the query
		return $this->execute();
	}
public function remove ( $ table , $ pkField , $ pkValue ) { // Make sure we have an id (i.e. don't delete everything in the table!) if ( is_null ( $ pkValue ) || empty ( $ pkValue ) ) { return false ; } // Add delete statement $ this -> delete ( $ table ) -> whereEquals ( $ pkField , $ pkValue ) ; // Return result of the query return $ this -> execute ( ) ; }
Removes a record by its primary key

@param   string  $table    The table to update
@param   string  $pkField  The table field serving as primary key
@param   mixed   $pkValue  The primary key value
@return  bool
@since   2.0.0
Removes a record by its primary key