| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Database.Persist.Net.Simple
Contents
Description
This module provides orphan instances for the typeclasses
PersistField and PersistFieldSql. The instances provided
are for the data types IPv4 and Mac from the ip package.
These instances will choose the
standard text type for the database column. If you are
using PostgreSQL, you may want to consider importing
the Database.Persist.Net.PostgreSQL module instead.
Orphan instances
| PersistField IPv4 Source # | |
Methods toPersistValue :: IPv4 -> PersistValue # fromPersistValue :: PersistValue -> Either Text IPv4 # | |
| PersistField Mac Source # | |
| PersistFieldSql IPv4 Source # | |
| PersistFieldSql Mac Source # | |