selectExpression
SQL: SELECT <expression> FROM <table>;. Examples: SELECT COUNT(*) FROM <table>;, SELECT SUM(<column>) FROM <table>;.
This function distinguishes from the overload without a columnSet parameter in that it selects from a certain ColumnSet, which may be a Table or a Join.
SQL: SELECT <expression>; without FROM in the outermost/top-level statement. Example: SELECT EXISTS(<query>).
Also see https://github.com/JetBrains/Exposed/issues/621.
I can't think of a case where this function should return multiple results in a RowSet. If there are any in your use cases, please submit an issue.
SQL: SELECT <expression>; without FROM in the outermost/top-level statement. Example: SELECT EXISTS(<query>).
I can't think of a case where this function should return multiple results in a RowSet. If there are any in your use cases, please submit an issue.
Deprecated
Use the overload without the `getFieldExpressionSetWithExposedTransaction` parameter, which is implemented more efficiently.
Replace with
this.selectExpression(columnSet, expression, buildQuery)SQL: SELECT <expression> FROM <table>;. Examples: SELECT COUNT(*) FROM <table>;, SELECT SUM(<column>) FROM <table>;.
This function distinguishes from the overload without a columnSet parameter in that it selects from a certain ColumnSet, which may be a Table or a Join.
Also see https://github.com/JetBrains/Exposed/issues/621.