mirror of
https://github.com/khibino/haskell-relational-record.git
synced 2024-11-29 14:45:51 +03:00
Update haddocks.
This commit is contained in:
parent
7548122a4c
commit
1e97eee0a6
@ -1,6 +1,15 @@
|
||||
{-# OPTIONS_GHC -fno-warn-orphans #-}
|
||||
{-# LANGUAGE TemplateHaskell #-}
|
||||
{-# LANGUAGE MultiParamTypeClasses #-}
|
||||
|
||||
-- |
|
||||
-- Module : Database.HDBC.Schema.MySQL
|
||||
-- Copyright : 2013 Sho KURODA
|
||||
-- License : BSD3
|
||||
--
|
||||
-- Maintainer : krdlab@gmail.com
|
||||
-- Stability : experimental
|
||||
-- Portability : unknown
|
||||
module Database.HDBC.Schema.MySQL
|
||||
(
|
||||
driverMySQL
|
||||
|
@ -1,6 +1,14 @@
|
||||
{-# OPTIONS_GHC -fno-warn-orphans #-}
|
||||
{-# LANGUAGE TemplateHaskell, MultiParamTypeClasses #-}
|
||||
|
||||
-- |
|
||||
-- Module : Database.HDBC.Schema.MySQL
|
||||
-- Copyright : 2013 Shohei Yasutake
|
||||
-- License : BSD3
|
||||
--
|
||||
-- Maintainer : amutake.s@gmail.com
|
||||
-- Stability : experimental
|
||||
-- Portability : unknown
|
||||
module Database.HDBC.Schema.Oracle
|
||||
( driverOracle
|
||||
) where
|
||||
|
@ -89,6 +89,7 @@ getColumns' tmap conn lchan scm tbl = maybeIO ([], []) id $ do
|
||||
types <- mapM getType' rows
|
||||
return (types, notNullIdxs)
|
||||
|
||||
-- | Driver implementation
|
||||
driverSQLServer :: IConnection conn => Driver conn
|
||||
driverSQLServer =
|
||||
emptyDriver { getFieldsWithMap = getColumns' }
|
||||
|
@ -107,6 +107,7 @@ getColumns' tmap conn lchan scm tbl = maybeIO ([], []) id $ do
|
||||
types <- mapM getType' rows
|
||||
return (types, notNullIdxs)
|
||||
|
||||
-- | Driver implementation
|
||||
driverSQLite3 :: IConnection conn => Driver conn
|
||||
driverSQLite3 =
|
||||
emptyDriver { getFieldsWithMap = getColumns' }
|
||||
|
Loading…
Reference in New Issue
Block a user