Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- sql :: ResultSet a => Connection -> Text -> IO a
- class ResultSet a where
- fromTokenStreams :: [TokenStream] -> a
- class Row a where
- fromListOfRawBytes :: [MetaColumnData] -> [RawBytes] -> a
- rpc :: (RpcQuerySet a, RpcResultSet b) => Connection -> a -> IO b
- class RpcResultSet a where
- fromListOfTokenStreams :: [[TokenStream]] -> a
- data RpcResult a b = RpcResult Int a b
- class RpcOutputSet a where
- fromReturnValues :: [ReturnValue] -> a
- class RpcQuerySet a where
- toRpcRequest :: a -> RpcRequest
- data RpcQuery a b = RpcQuery a b
- class RpcQueryId a where
- toRpcReqBatch :: RpcParamSet b => a -> b -> RpcReqBatch
- data StoredProcedure
- class RpcParamSet a where
- toRpcReqBatchParams :: a -> [RpcReqBatchParam]
- data RpcParam a
- type RpcParamName = Text
- nvarcharVal :: RpcParamName -> Text -> RpcParam Text
- ntextVal :: RpcParamName -> Text -> RpcParam Text
- varcharVal :: RpcParamName -> ByteString -> RpcParam ByteString
- textVal :: RpcParamName -> ByteString -> RpcParam ByteString
- newtype Only a = Only {
- fromOnly :: a
- data QueryError = QueryError !Info
SQL Text Query
ResultSet
class ResultSet a where Source #
fromTokenStreams :: [TokenStream] -> a Source #
Instances
ResultSet () Source # | |
Defined in Database.MSSQLServer.Query.ResultSet fromTokenStreams :: [TokenStream] -> () Source # | |
Row a => ResultSet [a] Source # | |
Defined in Database.MSSQLServer.Query.ResultSet fromTokenStreams :: [TokenStream] -> [a] Source # | |
(Row a, Row b) => ResultSet ([a], [b]) Source # | |
Defined in Database.MSSQLServer.Query.ResultSet fromTokenStreams :: [TokenStream] -> ([a], [b]) Source # | |
(Row a, Row b, Row c) => ResultSet ([a], [b], [c]) Source # | |
Defined in Database.MSSQLServer.Query.ResultSet fromTokenStreams :: [TokenStream] -> ([a], [b], [c]) Source # | |
(Row a, Row b, Row c, Row d) => ResultSet ([a], [b], [c], [d]) Source # | |
Defined in Database.MSSQLServer.Query.ResultSet fromTokenStreams :: [TokenStream] -> ([a], [b], [c], [d]) Source # | |
(Row a, Row b, Row c, Row d, Row e) => ResultSet ([a], [b], [c], [d], [e]) Source # | |
Defined in Database.MSSQLServer.Query.ResultSet fromTokenStreams :: [TokenStream] -> ([a], [b], [c], [d], [e]) Source # |
fromListOfRawBytes :: [MetaColumnData] -> [RawBytes] -> a Source #
Instances
Row () Source # | |
Defined in Database.MSSQLServer.Query.ResultSet fromListOfRawBytes :: [MetaColumnData] -> [RawBytes] -> () Source # | |
Data a => Row (Only a) Source # | |
Defined in Database.MSSQLServer.Query.ResultSet fromListOfRawBytes :: [MetaColumnData] -> [RawBytes] -> Only a Source # | |
(Data a, Data b) => Row (a, b) Source # | |
Defined in Database.MSSQLServer.Query.ResultSet fromListOfRawBytes :: [MetaColumnData] -> [RawBytes] -> (a, b) Source # | |
(Data a, Data b, Data c) => Row (a, b, c) Source # | |
Defined in Database.MSSQLServer.Query.ResultSet fromListOfRawBytes :: [MetaColumnData] -> [RawBytes] -> (a, b, c) Source # | |
(Data a, Data b, Data c, Data d) => Row (a, b, c, d) Source # | |
Defined in Database.MSSQLServer.Query.ResultSet fromListOfRawBytes :: [MetaColumnData] -> [RawBytes] -> (a, b, c, d) Source # | |
(Data a, Data b, Data c, Data d, Data e) => Row (a, b, c, d, e) Source # | |
Defined in Database.MSSQLServer.Query.ResultSet fromListOfRawBytes :: [MetaColumnData] -> [RawBytes] -> (a, b, c, d, e) Source # | |
(Data a, Data b, Data c, Data d, Data e, Data f) => Row (a, b, c, d, e, f) Source # | |
Defined in Database.MSSQLServer.Query.ResultSet fromListOfRawBytes :: [MetaColumnData] -> [RawBytes] -> (a, b, c, d, e, f) Source # | |
(Data a, Data b, Data c, Data d, Data e, Data f, Data g) => Row (a, b, c, d, e, f, g) Source # | |
Defined in Database.MSSQLServer.Query.ResultSet fromListOfRawBytes :: [MetaColumnData] -> [RawBytes] -> (a, b, c, d, e, f, g) Source # | |
(Data a, Data b, Data c, Data d, Data e, Data f, Data g, Data h) => Row (a, b, c, d, e, f, g, h) Source # | |
Defined in Database.MSSQLServer.Query.ResultSet fromListOfRawBytes :: [MetaColumnData] -> [RawBytes] -> (a, b, c, d, e, f, g, h) Source # | |
(Data a, Data b, Data c, Data d, Data e, Data f, Data g, Data h, Data i) => Row (a, b, c, d, e, f, g, h, i) Source # | |
Defined in Database.MSSQLServer.Query.ResultSet fromListOfRawBytes :: [MetaColumnData] -> [RawBytes] -> (a, b, c, d, e, f, g, h, i) Source # | |
(Data a, Data b, Data c, Data d, Data e, Data f, Data g, Data h, Data i, Data j) => Row (a, b, c, d, e, f, g, h, i, j) Source # | |
Defined in Database.MSSQLServer.Query.ResultSet fromListOfRawBytes :: [MetaColumnData] -> [RawBytes] -> (a, b, c, d, e, f, g, h, i, j) Source # | |
(Data a, Data b, Data c, Data d, Data e, Data f, Data g, Data h, Data i, Data j, Data k) => Row (a, b, c, d, e, f, g, h, i, j, k) Source # | |
Defined in Database.MSSQLServer.Query.ResultSet fromListOfRawBytes :: [MetaColumnData] -> [RawBytes] -> (a, b, c, d, e, f, g, h, i, j, k) Source # | |
(Data a, Data b, Data c, Data d, Data e, Data f, Data g, Data h, Data i, Data j, Data k, Data l) => Row (a, b, c, d, e, f, g, h, i, j, k, l) Source # | |
Defined in Database.MSSQLServer.Query.ResultSet fromListOfRawBytes :: [MetaColumnData] -> [RawBytes] -> (a, b, c, d, e, f, g, h, i, j, k, l) Source # | |
(Data a, Data b, Data c, Data d, Data e, Data f, Data g, Data h, Data i, Data j, Data k, Data l, Data m) => Row (a, b, c, d, e, f, g, h, i, j, k, l, m) Source # | |
Defined in Database.MSSQLServer.Query.ResultSet fromListOfRawBytes :: [MetaColumnData] -> [RawBytes] -> (a, b, c, d, e, f, g, h, i, j, k, l, m) Source # | |
(Data a, Data b, Data c, Data d, Data e, Data f, Data g, Data h, Data i, Data j, Data k, Data l, Data m, Data n) => Row (a, b, c, d, e, f, g, h, i, j, k, l, m, n) Source # | |
Defined in Database.MSSQLServer.Query.ResultSet fromListOfRawBytes :: [MetaColumnData] -> [RawBytes] -> (a, b, c, d, e, f, g, h, i, j, k, l, m, n) Source # | |
(Data a, Data b, Data c, Data d, Data e, Data f, Data g, Data h, Data i, Data j, Data k, Data l, Data m, Data n, Data o) => Row (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) Source # | |
Defined in Database.MSSQLServer.Query.ResultSet fromListOfRawBytes :: [MetaColumnData] -> [RawBytes] -> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) Source # | |
(Data a, Data b, Data c, Data d, Data e, Data f, Data g, Data h, Data i, Data j, Data k, Data l, Data m, Data n, Data o, Data p) => Row (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p) Source # | |
Defined in Database.MSSQLServer.Query.ResultSet fromListOfRawBytes :: [MetaColumnData] -> [RawBytes] -> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p) Source # | |
(Data a, Data b, Data c, Data d, Data e, Data f, Data g, Data h, Data i, Data j, Data k, Data l, Data m, Data n, Data o, Data p, Data q) => Row (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q) Source # | |
Defined in Database.MSSQLServer.Query.ResultSet fromListOfRawBytes :: [MetaColumnData] -> [RawBytes] -> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q) Source # | |
(Data a, Data b, Data c, Data d, Data e, Data f, Data g, Data h, Data i, Data j, Data k, Data l, Data m, Data n, Data o, Data p, Data q, Data r) => Row (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r) Source # | |
Defined in Database.MSSQLServer.Query.ResultSet fromListOfRawBytes :: [MetaColumnData] -> [RawBytes] -> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r) Source # | |
(Data a, Data b, Data c, Data d, Data e, Data f, Data g, Data h, Data i, Data j, Data k, Data l, Data m, Data n, Data o, Data p, Data q, Data r, Data s) => Row (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s) Source # | |
Defined in Database.MSSQLServer.Query.ResultSet fromListOfRawBytes :: [MetaColumnData] -> [RawBytes] -> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s) Source # | |
(Data a, Data b, Data c, Data d, Data e, Data f, Data g, Data h, Data i, Data j, Data k, Data l, Data m, Data n, Data o, Data p, Data q, Data r, Data s, Data t) => Row (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t) Source # | |
Defined in Database.MSSQLServer.Query.ResultSet fromListOfRawBytes :: [MetaColumnData] -> [RawBytes] -> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t) Source # | |
(Data a, Data b, Data c, Data d, Data e, Data f, Data g, Data h, Data i, Data j, Data k, Data l, Data m, Data n, Data o, Data p, Data q, Data r, Data s, Data t, Data u) => Row (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u) Source # | |
Defined in Database.MSSQLServer.Query.ResultSet fromListOfRawBytes :: [MetaColumnData] -> [RawBytes] -> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u) Source # | |
(Data a, Data b, Data c, Data d, Data e, Data f, Data g, Data h, Data i, Data j, Data k, Data l, Data m, Data n, Data o, Data p, Data q, Data r, Data s, Data t, Data u, Data v) => Row (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v) Source # | |
Defined in Database.MSSQLServer.Query.ResultSet fromListOfRawBytes :: [MetaColumnData] -> [RawBytes] -> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v) Source # | |
(Data a, Data b, Data c, Data d, Data e, Data f, Data g, Data h, Data i, Data j, Data k, Data l, Data m, Data n, Data o, Data p, Data q, Data r, Data s, Data t, Data u, Data v, Data w) => Row (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w) Source # | |
Defined in Database.MSSQLServer.Query.ResultSet fromListOfRawBytes :: [MetaColumnData] -> [RawBytes] -> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w) Source # | |
(Data a, Data b, Data c, Data d, Data e, Data f, Data g, Data h, Data i, Data j, Data k, Data l, Data m, Data n, Data o, Data p, Data q, Data r, Data s, Data t, Data u, Data v, Data w, Data x) => Row (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x) Source # | |
Defined in Database.MSSQLServer.Query.ResultSet fromListOfRawBytes :: [MetaColumnData] -> [RawBytes] -> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x) Source # | |
(Data a, Data b, Data c, Data d, Data e, Data f, Data g, Data h, Data i, Data j, Data k, Data l, Data m, Data n, Data o, Data p, Data q, Data r, Data s, Data t, Data u, Data v, Data w, Data x, Data y) => Row (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y) Source # | |
Defined in Database.MSSQLServer.Query.ResultSet fromListOfRawBytes :: [MetaColumnData] -> [RawBytes] -> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y) Source # | |
(Data a, Data b, Data c, Data d, Data e, Data f, Data g, Data h, Data i, Data j, Data k, Data l, Data m, Data n, Data o, Data p, Data q, Data r, Data s, Data t, Data u, Data v, Data w, Data x, Data y, Data z) => Row (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z) Source # | |
Defined in Database.MSSQLServer.Query.ResultSet fromListOfRawBytes :: [MetaColumnData] -> [RawBytes] -> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z) Source # |
RPC Query
rpc :: (RpcQuerySet a, RpcResultSet b) => Connection -> a -> IO b Source #
RpcResultSet
class RpcResultSet a where Source #
fromListOfTokenStreams :: [[TokenStream]] -> a Source #
Instances
Instances
class RpcOutputSet a where Source #
fromReturnValues :: [ReturnValue] -> a Source #
Instances
RpcOutputSet () Source # | |
Defined in Database.MSSQLServer.Query.RpcResultSet fromReturnValues :: [ReturnValue] -> () Source # | |
Data a => RpcOutputSet (Only a) Source # | |
Defined in Database.MSSQLServer.Query.RpcResultSet fromReturnValues :: [ReturnValue] -> Only a Source # | |
(Data a, Data b) => RpcOutputSet (a, b) Source # | |
Defined in Database.MSSQLServer.Query.RpcResultSet fromReturnValues :: [ReturnValue] -> (a, b) Source # | |
(Data a, Data b, Data c) => RpcOutputSet (a, b, c) Source # | |
Defined in Database.MSSQLServer.Query.RpcResultSet fromReturnValues :: [ReturnValue] -> (a, b, c) Source # | |
(Data a, Data b, Data c, Data d) => RpcOutputSet (a, b, c, d) Source # | |
Defined in Database.MSSQLServer.Query.RpcResultSet fromReturnValues :: [ReturnValue] -> (a, b, c, d) Source # | |
(Data a, Data b, Data c, Data d, Data e) => RpcOutputSet (a, b, c, d, e) Source # | |
Defined in Database.MSSQLServer.Query.RpcResultSet fromReturnValues :: [ReturnValue] -> (a, b, c, d, e) Source # | |
(Data a, Data b, Data c, Data d, Data e, Data f) => RpcOutputSet (a, b, c, d, e, f) Source # | |
Defined in Database.MSSQLServer.Query.RpcResultSet fromReturnValues :: [ReturnValue] -> (a, b, c, d, e, f) Source # | |
(Data a, Data b, Data c, Data d, Data e, Data f, Data g) => RpcOutputSet (a, b, c, d, e, f, g) Source # | |
Defined in Database.MSSQLServer.Query.RpcResultSet fromReturnValues :: [ReturnValue] -> (a, b, c, d, e, f, g) Source # | |
(Data a, Data b, Data c, Data d, Data e, Data f, Data g, Data h) => RpcOutputSet (a, b, c, d, e, f, g, h) Source # | |
Defined in Database.MSSQLServer.Query.RpcResultSet fromReturnValues :: [ReturnValue] -> (a, b, c, d, e, f, g, h) Source # | |
(Data a, Data b, Data c, Data d, Data e, Data f, Data g, Data h, Data i) => RpcOutputSet (a, b, c, d, e, f, g, h, i) Source # | |
Defined in Database.MSSQLServer.Query.RpcResultSet fromReturnValues :: [ReturnValue] -> (a, b, c, d, e, f, g, h, i) Source # | |
(Data a, Data b, Data c, Data d, Data e, Data f, Data g, Data h, Data i, Data j) => RpcOutputSet (a, b, c, d, e, f, g, h, i, j) Source # | |
Defined in Database.MSSQLServer.Query.RpcResultSet fromReturnValues :: [ReturnValue] -> (a, b, c, d, e, f, g, h, i, j) Source # | |
(Data a, Data b, Data c, Data d, Data e, Data f, Data g, Data h, Data i, Data j, Data k) => RpcOutputSet (a, b, c, d, e, f, g, h, i, j, k) Source # | |
Defined in Database.MSSQLServer.Query.RpcResultSet fromReturnValues :: [ReturnValue] -> (a, b, c, d, e, f, g, h, i, j, k) Source # | |
(Data a, Data b, Data c, Data d, Data e, Data f, Data g, Data h, Data i, Data j, Data k, Data l) => RpcOutputSet (a, b, c, d, e, f, g, h, i, j, k, l) Source # | |
Defined in Database.MSSQLServer.Query.RpcResultSet fromReturnValues :: [ReturnValue] -> (a, b, c, d, e, f, g, h, i, j, k, l) Source # | |
(Data a, Data b, Data c, Data d, Data e, Data f, Data g, Data h, Data i, Data j, Data k, Data l, Data m) => RpcOutputSet (a, b, c, d, e, f, g, h, i, j, k, l, m) Source # | |
Defined in Database.MSSQLServer.Query.RpcResultSet fromReturnValues :: [ReturnValue] -> (a, b, c, d, e, f, g, h, i, j, k, l, m) Source # | |
(Data a, Data b, Data c, Data d, Data e, Data f, Data g, Data h, Data i, Data j, Data k, Data l, Data m, Data n) => RpcOutputSet (a, b, c, d, e, f, g, h, i, j, k, l, m, n) Source # | |
Defined in Database.MSSQLServer.Query.RpcResultSet fromReturnValues :: [ReturnValue] -> (a, b, c, d, e, f, g, h, i, j, k, l, m, n) Source # | |
(Data a, Data b, Data c, Data d, Data e, Data f, Data g, Data h, Data i, Data j, Data k, Data l, Data m, Data n, Data o) => RpcOutputSet (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) Source # | |
Defined in Database.MSSQLServer.Query.RpcResultSet fromReturnValues :: [ReturnValue] -> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o) Source # | |
(Data a, Data b, Data c, Data d, Data e, Data f, Data g, Data h, Data i, Data j, Data k, Data l, Data m, Data n, Data o, Data p) => RpcOutputSet (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p) Source # | |
Defined in Database.MSSQLServer.Query.RpcResultSet fromReturnValues :: [ReturnValue] -> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p) Source # | |
(Data a, Data b, Data c, Data d, Data e, Data f, Data g, Data h, Data i, Data j, Data k, Data l, Data m, Data n, Data o, Data p, Data q) => RpcOutputSet (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q) Source # | |
Defined in Database.MSSQLServer.Query.RpcResultSet fromReturnValues :: [ReturnValue] -> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q) Source # | |
(Data a, Data b, Data c, Data d, Data e, Data f, Data g, Data h, Data i, Data j, Data k, Data l, Data m, Data n, Data o, Data p, Data q, Data r) => RpcOutputSet (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r) Source # | |
Defined in Database.MSSQLServer.Query.RpcResultSet fromReturnValues :: [ReturnValue] -> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r) Source # | |
(Data a, Data b, Data c, Data d, Data e, Data f, Data g, Data h, Data i, Data j, Data k, Data l, Data m, Data n, Data o, Data p, Data q, Data r, Data s) => RpcOutputSet (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s) Source # | |
Defined in Database.MSSQLServer.Query.RpcResultSet fromReturnValues :: [ReturnValue] -> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s) Source # | |
(Data a, Data b, Data c, Data d, Data e, Data f, Data g, Data h, Data i, Data j, Data k, Data l, Data m, Data n, Data o, Data p, Data q, Data r, Data s, Data t) => RpcOutputSet (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t) Source # | |
Defined in Database.MSSQLServer.Query.RpcResultSet fromReturnValues :: [ReturnValue] -> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t) Source # | |
(Data a, Data b, Data c, Data d, Data e, Data f, Data g, Data h, Data i, Data j, Data k, Data l, Data m, Data n, Data o, Data p, Data q, Data r, Data s, Data t, Data u) => RpcOutputSet (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u) Source # | |
Defined in Database.MSSQLServer.Query.RpcResultSet fromReturnValues :: [ReturnValue] -> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u) Source # | |
(Data a, Data b, Data c, Data d, Data e, Data f, Data g, Data h, Data i, Data j, Data k, Data l, Data m, Data n, Data o, Data p, Data q, Data r, Data s, Data t, Data u, Data v) => RpcOutputSet (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v) Source # | |
Defined in Database.MSSQLServer.Query.RpcResultSet fromReturnValues :: [ReturnValue] -> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v) Source # | |
(Data a, Data b, Data c, Data d, Data e, Data f, Data g, Data h, Data i, Data j, Data k, Data l, Data m, Data n, Data o, Data p, Data q, Data r, Data s, Data t, Data u, Data v, Data w) => RpcOutputSet (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w) Source # | |
Defined in Database.MSSQLServer.Query.RpcResultSet fromReturnValues :: [ReturnValue] -> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w) Source # | |
(Data a, Data b, Data c, Data d, Data e, Data f, Data g, Data h, Data i, Data j, Data k, Data l, Data m, Data n, Data o, Data p, Data q, Data r, Data s, Data t, Data u, Data v, Data w, Data x) => RpcOutputSet (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x) Source # | |
Defined in Database.MSSQLServer.Query.RpcResultSet fromReturnValues :: [ReturnValue] -> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x) Source # | |
(Data a, Data b, Data c, Data d, Data e, Data f, Data g, Data h, Data i, Data j, Data k, Data l, Data m, Data n, Data o, Data p, Data q, Data r, Data s, Data t, Data u, Data v, Data w, Data x, Data y) => RpcOutputSet (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y) Source # | |
Defined in Database.MSSQLServer.Query.RpcResultSet fromReturnValues :: [ReturnValue] -> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y) Source # | |
(Data a, Data b, Data c, Data d, Data e, Data f, Data g, Data h, Data i, Data j, Data k, Data l, Data m, Data n, Data o, Data p, Data q, Data r, Data s, Data t, Data u, Data v, Data w, Data x, Data y, Data z) => RpcOutputSet (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z) Source # | |
Defined in Database.MSSQLServer.Query.RpcResultSet fromReturnValues :: [ReturnValue] -> (a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x, y, z) Source # |
RpcQuerySet
class RpcQuerySet a where Source #
toRpcRequest :: a -> RpcRequest Source #
Instances
RpcQuery a b |
Instances
class RpcQueryId a where Source #
toRpcReqBatch :: RpcParamSet b => a -> b -> RpcReqBatch Source #
Instances
RpcQueryId Word16 Source # | |
Defined in Database.MSSQLServer.Query.RpcQuerySet toRpcReqBatch :: RpcParamSet b => Word16 -> b -> RpcReqBatch Source # | |
RpcQueryId Text Source # | |
Defined in Database.MSSQLServer.Query.RpcQuerySet toRpcReqBatch :: RpcParamSet b => Text -> b -> RpcReqBatch Source # | |
RpcQueryId StoredProcedure Source # | |
Defined in Database.MSSQLServer.Query.RpcQuerySet toRpcReqBatch :: RpcParamSet b => StoredProcedure -> b -> RpcReqBatch Source # |
data StoredProcedure Source #
Instances
Bounded StoredProcedure Source # | |
Defined in Database.MSSQLServer.Query.RpcQuerySet | |
Enum StoredProcedure Source # | |
Defined in Database.MSSQLServer.Query.RpcQuerySet succ :: StoredProcedure -> StoredProcedure # pred :: StoredProcedure -> StoredProcedure # toEnum :: Int -> StoredProcedure # fromEnum :: StoredProcedure -> Int # enumFrom :: StoredProcedure -> [StoredProcedure] # enumFromThen :: StoredProcedure -> StoredProcedure -> [StoredProcedure] # enumFromTo :: StoredProcedure -> StoredProcedure -> [StoredProcedure] # enumFromThenTo :: StoredProcedure -> StoredProcedure -> StoredProcedure -> [StoredProcedure] # | |
Show StoredProcedure Source # | |
Defined in Database.MSSQLServer.Query.RpcQuerySet showsPrec :: Int -> StoredProcedure -> ShowS # show :: StoredProcedure -> String # showList :: [StoredProcedure] -> ShowS # | |
RpcQueryId StoredProcedure Source # | |
Defined in Database.MSSQLServer.Query.RpcQuerySet toRpcReqBatch :: RpcParamSet b => StoredProcedure -> b -> RpcReqBatch Source # |
class RpcParamSet a where Source #
toRpcReqBatchParams :: a -> [RpcReqBatchParam] Source #
Instances
RpcParamVal RpcParamName TypeInfo a | |
RpcParamRef RpcParamName TypeInfo a | |
RpcParamDefVal RpcParamName TypeInfo a | |
RpcParamDefRef RpcParamName TypeInfo a |
Instances
type RpcParamName = Text Source #
nvarcharVal :: RpcParamName -> Text -> RpcParam Text Source #
varcharVal :: RpcParamName -> ByteString -> RpcParam ByteString Source #
textVal :: RpcParamName -> ByteString -> RpcParam ByteString Source #
Instances
Show a => Show (Only a) Source # | |
Data a => Row (Only a) Source # | |
Defined in Database.MSSQLServer.Query.ResultSet fromListOfRawBytes :: [MetaColumnData] -> [RawBytes] -> Only a Source # | |
Data a => RpcOutputSet (Only a) Source # | |
Defined in Database.MSSQLServer.Query.RpcResultSet fromReturnValues :: [ReturnValue] -> Only a Source # |
Exceptions
data QueryError Source #
Instances
Show QueryError Source # | |
Defined in Database.MSSQLServer.Query showsPrec :: Int -> QueryError -> ShowS # show :: QueryError -> String # showList :: [QueryError] -> ShowS # | |
Exception QueryError Source # | |
Defined in Database.MSSQLServer.Query toException :: QueryError -> SomeException # fromException :: SomeException -> Maybe QueryError # displayException :: QueryError -> String # |