fluent_query_builder library

Support for doing something awesome.

Classes

Block
DBConnectionInfo
DbLayer
Delete
DELETE query builder.
DistinctBlock
Expression
ExpressionNode
SQL expression builder. A new expression should be created using new Expression() call.
FieldNode
FluentModelBase<T>
FromTableBlock
FROM table
GetFieldBlock
(SELECT) field
GroupByBlock
GROUP BY
Insert
An INSERT query builder.
InsertFieldsFromQueryBlock
(INSERT INTO) ... setField ... (SELECT ... FROM ...)
InsertFieldValueBlock
(INSERT INTO) ... setField ... value
IntoTableBlock
INTO table
JoinBlock
JOIN
JoinNode
LimitBlock
LIMIT
OffsetBlock
OFFSET x
OrderByBlock
ORDER BY
OrderNode
OrmDefinitions
define orm settings @param tableName => the table name of model @param primaryKey => The primary key associated with the table. @param primaryKeyVal => The value of primaryKey
OrmRelation
@param tableRelation => the table name of related model example: pessoas @param foreignKey => foreign key example: idPessoa @param localKey => local Key example: id @param relationType => different types of relationships one To One | one To Many | many To Many
PostgreSqlExecutor
A QueryExecutor that queries a PostgreSQL database.
PostgreSqlExecutorPool
A QueryExecutor that manages a pool of PostgreSQL connections.
QueryBuilder
QueryBuilderOptions
RawBlock
A String which always gets output
Select
SELECT query builder.
SetFieldBlock
(UPDATE) SET setField=value
SetFieldBlockBase
Base class for setting fields to values (used for INSERT and UPDATE queries)
SetNode
StringBlock
A String which always gets output
TableBlockBase
Table base class
TableNode
UnionBlock
UNION
UnionNode
Update
UPDATE query builder.
UpdateTableBlock
Update table.
WhereBlock
WHERE

Enums

ConnectionDriver
ExpressionType
JoinType
JOIN type.
OrmRelationType
Um a um | Um para muitos | Muitos para muitos
SortOrder
Specifies that the sort order for a column. ASC sorts from the lowest value to highest value. DESC sorts from highest value to lowest value.
UnionType
Specifies the type of UNION operation to combines the results of two SQL queries into a single table.

Exceptions / Errors

UnsupportedOperationException