silverstripe-framework/ORM/Queries/SQLConditionGroup.php
2016-06-29 10:02:32 +12:00

23 lines
567 B
PHP

<?php
namespace SilverStripe\ORM\Queries;
/**
* Represents a where condition that is dynamically generated. Maybe be stored
* within a list of conditions, altered, and be allowed to affect the result
* of the parent sql query during future execution.
*
* @package framework
* @subpackage orm
*/
interface SQLConditionGroup {
/**
* Determines the resulting SQL along with parameters for the group
*
* @param array $parameters Out list of parameters
* @return string The complete SQL string for this item
*/
function conditionSQL(&$parameters);
}