Skip to content

SQLExpressionBuilder🔗

Constructor🔗

func NewSQLExpressionBuilder() *SQLExpressionBuilder

Methods🔗

Build🔗

Builds the object.

func (builder *SQLExpressionBuilder) Build() (SQLExpression, error)

From🔗

FROM part of the SQL expression

func (builder *SQLExpressionBuilder) From(from cloudwatch.QueryEditorPropertyExpressionOrQueryEditorFunctionExpression) *SQLExpressionBuilder

GroupBy🔗

GROUP BY part of the SQL expression

func (builder *SQLExpressionBuilder) GroupBy(groupBy cog.Builder[cloudwatch.QueryEditorArrayExpression]) *SQLExpressionBuilder

Limit🔗

LIMIT part of the SQL expression

func (builder *SQLExpressionBuilder) Limit(limit int64) *SQLExpressionBuilder

OrderBy🔗

ORDER BY part of the SQL expression

func (builder *SQLExpressionBuilder) OrderBy(orderBy cog.Builder[cloudwatch.QueryEditorFunctionExpression]) *SQLExpressionBuilder

OrderByDirection🔗

The sort order of the SQL expression, ASC or DESC

func (builder *SQLExpressionBuilder) OrderByDirection(orderByDirection string) *SQLExpressionBuilder

Select🔗

SELECT part of the SQL expression

func (builder *SQLExpressionBuilder) Select(selectArg cog.Builder[cloudwatch.QueryEditorFunctionExpression]) *SQLExpressionBuilder

Where🔗

WHERE part of the SQL expression

func (builder *SQLExpressionBuilder) Where(where cog.Builder[cloudwatch.QueryEditorArrayExpression]) *SQLExpressionBuilder

See also🔗