Skip to content

Commit 5d9b169

Browse files
taimoorzaeemsteve-chavez
authored andcommitted
refactor: sort exports of Identifiers.hs and SqlFragments.hs
Signed-off-by: Taimoor Zaeem <[email protected]>
1 parent eb908c6 commit 5d9b169

File tree

2 files changed

+20
-20
lines changed

2 files changed

+20
-20
lines changed

src/PostgREST/Query/SqlFragment.hs

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,22 @@ Module : PostgREST.Query.SqlFragment
66
Description : Helper functions for PostgREST.QueryBuilder.
77
-}
88
module PostgREST.Query.SqlFragment
9-
( noLocationF
10-
, handlerF
9+
( accessibleFuncs
10+
, accessibleTables
11+
, addConfigPgrstInserted
1112
, countF
12-
, groupF
13+
, currentSettingF
14+
, escapeIdent
15+
, escapeIdentList
16+
, explainF
17+
, fromJsonBodyF
1318
, fromQi
19+
, groupF
20+
, handlerF
21+
, intercalateSnippet
1422
, limitOffsetF
1523
, locationF
24+
, noLocationF
1625
, orderF
1726
, pgFmtColumn
1827
, pgFmtFilter
@@ -21,28 +30,19 @@ module PostgREST.Query.SqlFragment
2130
, pgFmtLogicTree
2231
, pgFmtOrderTerm
2332
, pgFmtSelectItem
24-
, pgFmtSpreadSelectItem
2533
, pgFmtSpreadJoinSelectItem
26-
, fromJsonBodyF
34+
, pgFmtSpreadSelectItem
2735
, responseHeadersF
2836
, responseStatusF
29-
, addConfigPgrstInserted
30-
, currentSettingF
3137
, returningF
38+
, schemaDescription
39+
, setConfigWithConstantName
40+
, setConfigWithConstantNameJSON
41+
, setConfigWithDynamicName
3242
, singleParameter
3343
, sourceCTE
3444
, sourceCTEName
3545
, unknownEncoder
36-
, intercalateSnippet
37-
, explainF
38-
, setConfigWithConstantName
39-
, setConfigWithDynamicName
40-
, setConfigWithConstantNameJSON
41-
, escapeIdent
42-
, escapeIdentList
43-
, schemaDescription
44-
, accessibleTables
45-
, accessibleFuncs
4646
) where
4747

4848
import qualified Data.Aeson as JSON

src/PostgREST/SchemaCache/Identifiers.hs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
{-# LANGUAGE DeriveGeneric #-}
33

44
module PostgREST.SchemaCache.Identifiers
5-
( QualifiedIdentifier(..)
5+
( FieldName
6+
, QualifiedIdentifier(..)
67
, RelIdentifier(..)
7-
, isAnyElement
88
, Schema
99
, TableName
10-
, FieldName
1110
, dumpQi
11+
, isAnyElement
1212
, toQi
1313
) where
1414

0 commit comments

Comments
 (0)