Skip to content
Snippets Groups Projects
SqlFieldSpecification.php 403 B
Newer Older
  • Learn to ignore specific revisions
  • <?php
    /**
     * @author Jaap Jansma <jaap.jansma@civicoop.org>
     * @license AGPL-3.0
     */
    
    namespace Civi\DataProcessor\DataSpecification;
    
    interface SqlFieldSpecification {
    
      /**
       * Returns the select statement for this field.
       * E.g. COUNT(civicrm_contact.id) AS contact_id_count
       *
       * @param String $table_alias
       * @return String
       */
      public function getSqlSelectStatement($table_alias);