Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
Documentation
data PreferResolution Source #
Instances
Show PreferResolution Source # | |
Defined in PostgREST.Request.Preferences showsPrec :: Int -> PreferResolution -> ShowS # show :: PreferResolution -> String # showList :: [PreferResolution] -> ShowS # |
data PreferRepresentation Source #
How to return the mutated data. From https://tools.ietf.org/html/rfc7240#section-4.2
Full | Return the body plus the Location header(in case of POST). |
HeadersOnly | Return the Location header(in case of POST). This needs a SELECT privilege on the pk. |
None | Return nothing from the mutated data. |
Instances
Eq PreferRepresentation Source # | |
Defined in PostgREST.Request.Preferences (==) :: PreferRepresentation -> PreferRepresentation -> Bool # (/=) :: PreferRepresentation -> PreferRepresentation -> Bool # | |
Show PreferRepresentation Source # | |
Defined in PostgREST.Request.Preferences showsPrec :: Int -> PreferRepresentation -> ShowS # show :: PreferRepresentation -> String # showList :: [PreferRepresentation] -> ShowS # |
data PreferParameters Source #
SingleObject | Pass all parameters as a single json object to a stored procedure |
MultipleObjects | Pass an array of json objects as params to a stored procedure |
Instances
Eq PreferParameters Source # | |
Defined in PostgREST.Request.Preferences (==) :: PreferParameters -> PreferParameters -> Bool # (/=) :: PreferParameters -> PreferParameters -> Bool # | |
Show PreferParameters Source # | |
Defined in PostgREST.Request.Preferences showsPrec :: Int -> PreferParameters -> ShowS # show :: PreferParameters -> String # showList :: [PreferParameters] -> ShowS # |
data PreferCount Source #
ExactCount | exact count(slower) |
PlannedCount | PostgreSQL query planner rows count guess. Done by using EXPLAIN {query}. |
EstimatedCount | use the query planner rows if the count is superior to max-rows, otherwise get the exact count. |
Instances
Eq PreferCount Source # | |
Defined in PostgREST.Request.Preferences (==) :: PreferCount -> PreferCount -> Bool # (/=) :: PreferCount -> PreferCount -> Bool # | |
Show PreferCount Source # | |
Defined in PostgREST.Request.Preferences showsPrec :: Int -> PreferCount -> ShowS # show :: PreferCount -> String # showList :: [PreferCount] -> ShowS # |
data PreferTransaction Source #
Instances
Eq PreferTransaction Source # | |
Defined in PostgREST.Request.Preferences (==) :: PreferTransaction -> PreferTransaction -> Bool # (/=) :: PreferTransaction -> PreferTransaction -> Bool # | |
Show PreferTransaction Source # | |
Defined in PostgREST.Request.Preferences showsPrec :: Int -> PreferTransaction -> ShowS # show :: PreferTransaction -> String # showList :: [PreferTransaction] -> ShowS # |