postgresql-ltree-0.0.0.0: Types and functions for representing PostgreSQL's ltree
Safe HaskellNone
LanguageHaskell2010

Database.PostgreSQL.LQuery

Description

This module provides types and functions for PostgreSQL's lquery https://www.postgresql.org/docs/current/ltree.html

You will want to use a specific implementation, e.g. postgresql-simple-ltree.

Synopsis

Documentation

newtype LQuery Source #

Wrapper for Postgres' lquery (label tree query) type.

Constructors

LQuery 

Fields

Instances

Instances details
Eq LQuery Source # 
Instance details

Defined in Database.PostgreSQL.LQuery

Methods

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

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

Ord LQuery Source # 
Instance details

Defined in Database.PostgreSQL.LQuery

Show LQuery Source # 
Instance details

Defined in Database.PostgreSQL.LQuery

ToJSON LQuery Source # 
Instance details

Defined in Database.PostgreSQL.LQuery

FromJSON LQuery Source # 
Instance details

Defined in Database.PostgreSQL.LQuery

contains :: Label -> LQuery Source #

Build an lquery expression which matches any ltree which contains the given label.