Methods
# static fixGroupBy(query, coarse_grain) → {*}
Replaces "group by" for "group every $coarse_grain by"
Parameters:
Name | Type | Description |
---|---|---|
query |
||
coarse_grain |
coarse grain used |
*
# static fixInts(query) → {*}
Translates int4, int8 to int
Parameters:
Name | Type | Description |
---|---|---|
query |
*
# static fixLimit(query) → {*}
Removes limit clauses that don't apply on loxcope
Parameters:
Name | Type | Description |
---|---|---|
query |
*
# static fixLookupList(query) → {*}
Removes the domain in a query to a lookup
Parameters:
Name | Type | Description |
---|---|---|
query |
*
# static fixLookups(query) → {*}
Translates lookups from the backend syntax to the loxcope one
Parameters:
Name | Type | Description |
---|---|---|
query |
*
# static fixMidnight(query, coarse_grain) → {*}
Replaces "group by" for "group every $coarse_grain by"
Parameters:
Name | Type | Description |
---|---|---|
query |
||
coarse_grain |
coarse grain used |
*
# static fixQueryForLoxcope(query, additionalFixes) → {*}
Adapts a query from the backend syntax to the loxcope one by making several changes to it.
Parameters:
Name | Type | Description |
---|---|---|
query |
||
additionalFixes |
More custom fixes if needed |
*
# static fixSelectAll(query) → {*}
Removes select * clause in a query
Parameters:
Name | Type | Description |
---|---|---|
query |
*