queryparser-0.1.0.1: Analysis and parsing library for SQL queries.

Safe HaskellNone
LanguageHaskell2010

Database.Sql.Util.Tables

Documentation

class HasTables q where Source #

Minimal complete definition

goTables

Instances

HasTables a => HasTables (Maybe a) Source # 
HasTables a => HasTables (NonEmpty a) Source # 
HasTables (RColumnRef a) Source # 
HasTables (FQTableName a) Source # 
HasTables (RTableName a) Source # 
(HasTables a, HasTables b) => HasTables (a, b) Source # 

Methods

goTables :: (a, b) -> ReaderT * UsageMode (Writer (Set TableUse)) () Source #

HasTables (NamedWindowExpr ResolvedNames a) Source # 
HasTables (PartialWindowExpr ResolvedNames a) Source # 
HasTables (WindowExpr ResolvedNames a) Source # 
HasTables (OverSubExpr ResolvedNames a) Source # 
HasTables (Partition ResolvedNames a) Source # 
HasTables (Filter ResolvedNames a) Source # 
HasTables (Expr ResolvedNames a) Source # 
HasTables (Selection ResolvedNames a) Source # 
HasTables (Order ResolvedNames a) Source # 
HasTables (SelectNamedWindow ResolvedNames a) Source # 
HasTables (SelectHaving ResolvedNames a) Source # 
HasTables (SelectGroup ResolvedNames a) Source # 
HasTables (GroupingElement ResolvedNames a) Source # 
HasTables (PositionOrExpr ResolvedNames a) Source # 
HasTables (SelectTimeseries ResolvedNames a) Source # 
HasTables (SelectWhere ResolvedNames a) Source # 
HasTables (Tablish ResolvedNames a) Source # 
HasTables (SelectFrom ResolvedNames a) Source # 
HasTables (SelectColumns ResolvedNames a) Source # 
HasTables (Select ResolvedNames a) Source # 
HasTables (Query ResolvedNames a) Source # 
HasTables (DropView ResolvedNames a) Source # 
HasTables (CreateView ResolvedNames a) Source # 
HasTables (DropTable ResolvedNames a) Source # 
HasTables (AlterTable ResolvedNames a) Source # 
HasTables (Truncate ResolvedNames a) Source # 
HasTables (Delete ResolvedNames a) Source # 
HasTables (Update ResolvedNames a) Source # 
HasTables (DefaultExpr ResolvedNames a) Source # 
HasTables (InsertValues ResolvedNames a) Source # 
HasTables (Insert ResolvedNames a) Source # 
HasTables (ColumnDefinition d ResolvedNames a) Source # 
HasTables (ColumnOrConstraint d ResolvedNames a) Source # 
HasTables (TableDefinition d ResolvedNames a) Source # 
HasTables (CreateTable d ResolvedNames a) Source # 
HasTables (Statement d ResolvedNames a) Source # 

data Open Source #

Constructors

Open 

Instances

Eq Open Source # 

Methods

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

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

Ord Open Source # 

Methods

compare :: Open -> Open -> Ordering #

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

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

(>) :: Open -> Open -> Bool #

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

max :: Open -> Open -> Open #

min :: Open -> Open -> Open #

Show Open Source # 

Methods

showsPrec :: Int -> Open -> ShowS #

show :: Open -> String #

showList :: [Open] -> ShowS #

Positioned Open Source # 

data Close Source #

Constructors

Close 

Instances

class Positioned a where Source #

Minimal complete definition

position

Methods

position :: a -> Position Source #

spliceMarkers :: Monoid a => (Open -> a) -> (Close -> a) -> (Text -> a) -> Set Open -> Set Close -> Text -> a Source #