yesod-ip-0.2: Code for using the ip package with yesod
Database.Persist.Net.PostgreSQL
Contents
Description
This module provides orphan instances for data types from the ip package. These instances only work for PostgresSQL. The following PostgreSQL column types are used for each data types:
ip
IPv4
inet
Mac
macaddr
This module is not yet complete.
Methods
sqlType :: Proxy * IPv4 -> SqlType #
toPersistValue :: IPv4 -> PersistValue #
fromPersistValue :: PersistValue -> Either Text IPv4 #