Merge pull request #19209 from mattwire/daoeventid
[civicrm-core.git] / Civi / Api4 / Query / SqlField.php
index 67f1c206a6ff73dc2ce09aebe158bb49c265c6b8..b6f69f4d5fb0744df03265abd522fa3b9c1796b5 100644 (file)
@@ -16,6 +16,8 @@ namespace Civi\Api4\Query;
  */
 class SqlField extends SqlExpression {
 
+  public $supportsExpansion = TRUE;
+
   protected function initialize() {
     if ($this->alias && $this->alias !== $this->expr) {
       throw new \API_Exception("Aliasing field names is not allowed, only expressions can have an alias.");