Select all data

In your query, just don't do any project, or do a project on all columns (see Select columns )

This example prints all rows of the table FARMERS

printP = withDB $ \ db ->
    do t <- query db (table P.farmers)
       mapM_ (putStrLn .showP) t
    


Frame> printP
    0 "John Doe" 0
    1 "Jane Doe" 0
    2 "Steve Black" 1

Here are all words and functions with references, in alphabetical order

Go to main page