sql_parser library
Functions
-
parseJoinClauses(
String joinClauses) → List< Join> - Parse the JOIN clauses of a SQL SELECT statement.
-
parseOrderByClause(
String orderByClause) → List< OrderByElement> - Parse the ORDER BY clause of a SQL SELECT statement.
-
parseSelectedColumns(
String selectClause) → List< SelectedColumn> - Converts the selected columns part of a SelectStatement to a list of SelectedColumn objects.
-
parseWhereClause(
String whereClause) → WhereClauseGroup - Converts a SelectStatement to a SQL SELECT statement.
-
toSelectStatement(
String sql) → SelectStatement - Converts a list of SelectedColumns to a SQL SELECT statement.