txt-sushi-0.5.0: The SQL link in your *NIX chain

Database.TxtSushi.Relational

Description

Simple table transformations

Synopsis

Documentation

joinTables :: Ord o => (a -> o) -> [a] -> (b -> o) -> [b] -> [(a, b)]Source

join together two tables on the given column index pairs

crossJoinTables :: [a] -> [b] -> [(a, b)]Source

joinPresortedTables :: Ord o => (a -> o) -> [a] -> (b -> o) -> [b] -> [(a, b)]Source

join together two tables that are presorted on the given column index pairs