Global

Members

# constant OrderDirection

defines order directions when sorting

View Source repository/constants.ts, line 2

# constant Priority

Defines execution order of Clauses in statements as defined in SQL.

sub priorities where defined to better organize clauses within statements, eg From and Join Clauses

View Source query/constants.ts, line 26

# Priority[undefined]

Defines the priority for the FROM Clause

From Clause in SELECT Statements. Values Clause in INSERT Statements

Properties:
Name Type Description
FROM

View Source query/constants.ts, line 45

# Priority[undefined]

Defines the priority for the JOIN Clause

Properties:
Name Type Description
JOIN number

View Source query/constants.ts, line 51

# Priority[undefined]

Where Clause

.

Where Clause

View Source query/constants.ts, line 55

# Priority[undefined]

Group By Clause

.

Group By Clause

View Source query/constants.ts, line 59

# Priority[undefined]

Having Clause

.

Having Clause

View Source query/constants.ts, line 63

# Priority[undefined]

Select Clause in SELECT Statements Insert Clause in INSERT Statements

.

Select Clause in SELECT Statements Insert Clause in INSERT Statements

View Source query/constants.ts, line 68

# Priority[undefined]

Order By Clause

.

Order By Clause

View Source query/constants.ts, line 72

# Priority[undefined]

Limit Clause

.

Limit Clause

View Source query/constants.ts, line 76

# Priority[undefined]

Offset Clause

.

Offset Clause

View Source query/constants.ts, line 80

Methods

# clauseSequence(messageopt)

Parameters:
Name Type Attributes Description
message string <optional>

View Source validators/decorators.ts, line 10

# index(directionsopt, compositionsopt)

Index Decorator

properties decorated will the index in the DB for performance in queries

Parameters:
Name Type Attributes Description
directions Array.<OrderDirection> <optional>
compositions Array.<string> <optional>

View Source model/decorators.ts, line 18

Type Definitions

object

# CascadeMetadata

defines the cascading behaviour

Properties:
Name Type Description
update Cascade
delete Cascade

View Source repository/types.ts, line 5

Constructor.<M> | string

# FromSelector

View Source query/selectors.ts, line 6

string

# GroupBySelector

View Source query/selectors.ts, line 12

number

# LimitSelector

View Source query/selectors.ts, line 19

number

# OffsetSelector

View Source query/selectors.ts, line 25

string | Array

# SelectSelector

View Source query/selectors.ts, line 31