Class
QueryBuilder
final class QueryBuilder<Model> where Model : Model
Topics
Initializers
Instance Properties
Instance Methods
aggregate(_:_:as:)aggregate(_:as:)all()all(_:)all(_:_:)average(_:)chunk(max:closure:)copy()count()count(_:)create()delete(force:)field(_:)field(_:_:)fields(for:)filter(_:)filter(_:_:)filter(_:_:_:)filter(_:_:_:_:)first()group(_:_:)join(_:_:method:).join(Foreign.self, filters, method: method)join(_:_:on:)join(_:on:).join(Foreign.self, on: databaseJoin)join(_:on:method:)join(child:method:)This will join a foreign table based on a@OptionalChildrelationjoin(children:method:)This will join a foreign table based on a@Childrenrelationjoin(from:child:method:)This will join a foreign table based on a@OptionalChildrelationjoin(from:children:method:)This will join a foreign table based on a@Childrenrelationjoin(from:parent:method:)This will join a foreign table based on a@OptionalParentrelationjoin(from:siblings:)This will join the foreign table based on a@Siblingsrelation This will result in joining two tables. The Pivot table and the wanted model tablejoin(parent:method:)This will join a foreign table based on a@OptionalParentrelationjoin(siblings:)This will join the foreign table based on a@Siblingsrelation This will result in joining two tables. The Pivot table and the wanted model tablelimit(_:)max(_:)min(_:)offset(_:)page(withIndex:size:)Returns a singlePageout of the complete result set.paginate(_:)Returns a singlePageout of the complete result set according to the suppliedPageRequest.range(_:)Limits the results of this query to the specified range.range(lower:upper:)Limits the results of this query to the specified range.run()run(_:)set(_:)set(_:to:)sort(_:)sort(_:_:)sort(_:_:_:alias:)sum(_:)unique()update()withDeleted()
Default Implementations
Relationships
Conforms To
EagerLoadBuilderSwift.CopyableSwift.Escapable