Visitar URL original
PostgresqlTypes.Int8
postgresql-types-0.1.7.0: Precise PostgreSQL types representation and driver-agnostic codecs
Safe HaskellNone
LanguageHaskell2010

PostgresqlTypes.Int8

Synopsis

Documentation

newtype Int8 Source #

PostgreSQL int8 type. 8-byte signed integer.

Range: -9223372036854775808 to +9223372036854775807.

PostgreSQL docs.

Constructors

Int8 Int64 

Instances

Instances details
Arbitrary Int8 Source # 
Instance details

Defined in PostgresqlTypes.Int8

Methods

arbitrary :: Gen Int8 #

shrink :: Int8 -> [Int8] #

IsString Int8 Source # 
Instance details

Defined in PostgresqlTypes.Int8

Methods

fromString :: String -> Int8 #

Read Int8 Source # 
Instance details

Defined in PostgresqlTypes.Int8

Show Int8 Source # 
Instance details

Defined in PostgresqlTypes.Int8

Methods

showsPrec :: Int -> Int8 -> ShowS #

show :: Int8 -> String #

showList :: [Int8] -> ShowS #

Eq Int8 Source # 
Instance details

Defined in PostgresqlTypes.Int8

Methods

(==) :: Int8 -> Int8 -> Bool #

(/=) :: Int8 -> Int8 -> Bool #

Ord Int8 Source # 
Instance details

Defined in PostgresqlTypes.Int8

Methods

compare :: Int8 -> Int8 -> Ordering #

(<) :: Int8 -> Int8 -> Bool #

(<=) :: Int8 -> Int8 -> Bool #

(>) :: Int8 -> Int8 -> Bool #

(>=) :: Int8 -> Int8 -> Bool #

max :: Int8 -> Int8 -> Int8 #

min :: Int8 -> Int8 -> Int8 #

Hashable Int8 Source # 
Instance details

Defined in PostgresqlTypes.Int8

Methods

hashWithSalt :: Int -> Int8 -> Int #

hash :: Int8 -> Int #

IsBinaryPrimitive Int8 Source # 
Instance details

Defined in PostgresqlTypes.Int8

IsMultirangeElement Int8 Source #

Mapping to int8multirange type.

Instance details

Defined in PostgresqlTypes.Int8

IsPrimitive Int8 Source # 
Instance details

Defined in PostgresqlTypes.Int8

IsRangeElement Int8 Source #

Mapping to int8range type.

Instance details

Defined in PostgresqlTypes.Int8

Accessors

toInt64 :: Int8 -> Int64 Source #

Extract the underlying Int64 value.

Constructors

fromInt64 :: Int64 -> Int8 Source #

Construct a PostgreSQL Int8 from an Int64 value.