public static function appendWhereClause(
        $whereBuilders,
        $awql
    ) {
        if (empty($whereBuilders)) {
            return $awql;
        }

        $conditions = [];
        foreach ($whereBuilders as $whereBuilder) {
            $conditions[] = $whereBuilder->buildWhere();
        }

        return sprintf('%s WHERE %s', $awql, implode(' AND ', $conditions));
    }