/usr/share/doc/haskell-haskelldb-doc/html/Database-HaskellDB-Sql-Default.html is in libghc-haskelldb-doc 2.1.1-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>Database.HaskellDB.Sql.Default</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
window.onload = function () {pageLoad();setSynopsis("mini_Database-HaskellDB-Sql-Default.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Database-HaskellDB-Sql-Default.html">Source</a></li><li><a href="index.html">Contents</a></li><li><a href="doc-index.html">Index</a></li></ul><p class="caption">haskelldb-2.1.1: A library of combinators for generating and executing SQL statements.</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Portability</th><td>non-portable</td></tr><tr><th>Stability</th><td>experimental</td></tr><tr><th>Maintainer</th><td>haskelldb-users@lists.sourceforge.net</td></tr><tr><th>Safe Haskell</th><td>None</td></tr></table><p class="caption">Database.HaskellDB.Sql.Default</p></div><div id="table-of-contents"><p class="caption">Contents</p><ul><li><a href="#g:1">Utilities
</a></li></ul></div><div id="description"><p class="caption">Description</p><div class="doc"><p>Default SQL generation.
</p></div></div><div id="synopsis"><p id="control.syn" class="caption expander" onclick="toggleSection('syn')">Synopsis</p><ul id="section.syn" class="hide" onclick="toggleSection('syn')"><li class="src short"><a href="#v:mkSqlGenerator">mkSqlGenerator</a> :: <a href="Database-HaskellDB-Sql-Generate.html#t:SqlGenerator">SqlGenerator</a> -> <a href="Database-HaskellDB-Sql-Generate.html#t:SqlGenerator">SqlGenerator</a></li><li class="src short"><a href="#v:defaultSqlGenerator">defaultSqlGenerator</a> :: <a href="Database-HaskellDB-Sql-Generate.html#t:SqlGenerator">SqlGenerator</a></li><li class="src short"><a href="#v:defaultSqlQuery">defaultSqlQuery</a> :: <a href="Database-HaskellDB-Sql-Generate.html#t:SqlGenerator">SqlGenerator</a> -> <a href="Database-HaskellDB-PrimQuery.html#t:PrimQuery">PrimQuery</a> -> <a href="Database-HaskellDB-Sql.html#t:SqlSelect">SqlSelect</a></li><li class="src short"><a href="#v:defaultSqlUpdate">defaultSqlUpdate</a> :: <a href="Database-HaskellDB-Sql-Generate.html#t:SqlGenerator">SqlGenerator</a> -> <a href="Database-HaskellDB-PrimQuery.html#t:TableName">TableName</a> -> [<a href="Database-HaskellDB-PrimQuery.html#t:PrimExpr">PrimExpr</a>] -> <a href="Database-HaskellDB-PrimQuery.html#t:Assoc">Assoc</a> -> <a href="Database-HaskellDB-Sql.html#t:SqlUpdate">SqlUpdate</a></li><li class="src short"><a href="#v:defaultSqlDelete">defaultSqlDelete</a> :: <a href="Database-HaskellDB-Sql-Generate.html#t:SqlGenerator">SqlGenerator</a> -> <a href="Database-HaskellDB-PrimQuery.html#t:TableName">TableName</a> -> [<a href="Database-HaskellDB-PrimQuery.html#t:PrimExpr">PrimExpr</a>] -> <a href="Database-HaskellDB-Sql.html#t:SqlDelete">SqlDelete</a></li><li class="src short"><a href="#v:defaultSqlInsert">defaultSqlInsert</a> :: <a href="Database-HaskellDB-Sql-Generate.html#t:SqlGenerator">SqlGenerator</a> -> <a href="Database-HaskellDB-PrimQuery.html#t:TableName">TableName</a> -> <a href="Database-HaskellDB-PrimQuery.html#t:Assoc">Assoc</a> -> <a href="Database-HaskellDB-Sql.html#t:SqlInsert">SqlInsert</a></li><li class="src short"><a href="#v:defaultSqlInsertQuery">defaultSqlInsertQuery</a> :: <a href="Database-HaskellDB-Sql-Generate.html#t:SqlGenerator">SqlGenerator</a> -> <a href="Database-HaskellDB-PrimQuery.html#t:TableName">TableName</a> -> <a href="Database-HaskellDB-PrimQuery.html#t:PrimQuery">PrimQuery</a> -> <a href="Database-HaskellDB-Sql.html#t:SqlInsert">SqlInsert</a></li><li class="src short"><a href="#v:defaultSqlCreateDB">defaultSqlCreateDB</a> :: <a href="Database-HaskellDB-Sql-Generate.html#t:SqlGenerator">SqlGenerator</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a> -> <a href="Database-HaskellDB-Sql.html#t:SqlCreate">SqlCreate</a></li><li class="src short"><a href="#v:defaultSqlCreateTable">defaultSqlCreateTable</a> :: <a href="Database-HaskellDB-Sql-Generate.html#t:SqlGenerator">SqlGenerator</a> -> <a href="Database-HaskellDB-PrimQuery.html#t:TableName">TableName</a> -> [(<a href="Database-HaskellDB-PrimQuery.html#t:Attribute">Attribute</a>, <a href="Database-HaskellDB-FieldType.html#t:FieldDesc">FieldDesc</a>)] -> <a href="Database-HaskellDB-Sql.html#t:SqlCreate">SqlCreate</a></li><li class="src short"><a href="#v:defaultSqlDropDB">defaultSqlDropDB</a> :: <a href="Database-HaskellDB-Sql-Generate.html#t:SqlGenerator">SqlGenerator</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a> -> <a href="Database-HaskellDB-Sql.html#t:SqlDrop">SqlDrop</a></li><li class="src short"><a href="#v:defaultSqlDropTable">defaultSqlDropTable</a> :: <a href="Database-HaskellDB-Sql-Generate.html#t:SqlGenerator">SqlGenerator</a> -> <a href="Database-HaskellDB-PrimQuery.html#t:TableName">TableName</a> -> <a href="Database-HaskellDB-Sql.html#t:SqlDrop">SqlDrop</a></li><li class="src short"><a href="#v:defaultSqlEmpty">defaultSqlEmpty</a> :: <a href="Database-HaskellDB-Sql-Generate.html#t:SqlGenerator">SqlGenerator</a> -> <a href="Database-HaskellDB-Sql.html#t:SqlSelect">SqlSelect</a></li><li class="src short"><a href="#v:defaultSqlTable">defaultSqlTable</a> :: <a href="Database-HaskellDB-Sql-Generate.html#t:SqlGenerator">SqlGenerator</a> -> <a href="Database-HaskellDB-PrimQuery.html#t:TableName">TableName</a> -> <a href="Database-HaskellDB-PrimQuery.html#t:Scheme">Scheme</a> -> <a href="Database-HaskellDB-Sql.html#t:SqlSelect">SqlSelect</a></li><li class="src short"><a href="#v:defaultSqlProject">defaultSqlProject</a> :: <a href="Database-HaskellDB-Sql-Generate.html#t:SqlGenerator">SqlGenerator</a> -> <a href="Database-HaskellDB-PrimQuery.html#t:Assoc">Assoc</a> -> <a href="Database-HaskellDB-Sql.html#t:SqlSelect">SqlSelect</a> -> <a href="Database-HaskellDB-Sql.html#t:SqlSelect">SqlSelect</a></li><li class="src short"><a href="#v:defaultSqlRestrict">defaultSqlRestrict</a> :: <a href="Database-HaskellDB-Sql-Generate.html#t:SqlGenerator">SqlGenerator</a> -> <a href="Database-HaskellDB-PrimQuery.html#t:PrimExpr">PrimExpr</a> -> <a href="Database-HaskellDB-Sql.html#t:SqlSelect">SqlSelect</a> -> <a href="Database-HaskellDB-Sql.html#t:SqlSelect">SqlSelect</a></li><li class="src short"><a href="#v:defaultSqlBinary">defaultSqlBinary</a> :: <a href="Database-HaskellDB-Sql-Generate.html#t:SqlGenerator">SqlGenerator</a> -> <a href="Database-HaskellDB-PrimQuery.html#t:RelOp">RelOp</a> -> <a href="Database-HaskellDB-Sql.html#t:SqlSelect">SqlSelect</a> -> <a href="Database-HaskellDB-Sql.html#t:SqlSelect">SqlSelect</a> -> <a href="Database-HaskellDB-Sql.html#t:SqlSelect">SqlSelect</a></li><li class="src short"><a href="#v:defaultSqlGroup">defaultSqlGroup</a> :: <a href="Database-HaskellDB-Sql-Generate.html#t:SqlGenerator">SqlGenerator</a> -> <a href="Database-HaskellDB-PrimQuery.html#t:Assoc">Assoc</a> -> <a href="Database-HaskellDB-Sql.html#t:SqlSelect">SqlSelect</a> -> <a href="Database-HaskellDB-Sql.html#t:SqlSelect">SqlSelect</a></li><li class="src short"><a href="#v:defaultSqlSpecial">defaultSqlSpecial</a> :: <a href="Database-HaskellDB-Sql-Generate.html#t:SqlGenerator">SqlGenerator</a> -> <a href="Database-HaskellDB-PrimQuery.html#t:SpecialOp">SpecialOp</a> -> <a href="Database-HaskellDB-Sql.html#t:SqlSelect">SqlSelect</a> -> <a href="Database-HaskellDB-Sql.html#t:SqlSelect">SqlSelect</a></li><li class="src short"><a href="#v:defaultSqlExpr">defaultSqlExpr</a> :: <a href="Database-HaskellDB-Sql-Generate.html#t:SqlGenerator">SqlGenerator</a> -> <a href="Database-HaskellDB-PrimQuery.html#t:PrimExpr">PrimExpr</a> -> <a href="Database-HaskellDB-Sql.html#t:SqlExpr">SqlExpr</a></li><li class="src short"><a href="#v:defaultSqlLiteral">defaultSqlLiteral</a> :: <a href="Database-HaskellDB-Sql-Generate.html#t:SqlGenerator">SqlGenerator</a> -> <a href="Database-HaskellDB-PrimQuery.html#t:Literal">Literal</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a></li><li class="src short"><a href="#v:defaultSqlType">defaultSqlType</a> :: <a href="Database-HaskellDB-Sql-Generate.html#t:SqlGenerator">SqlGenerator</a> -> <a href="Database-HaskellDB-FieldType.html#t:FieldType">FieldType</a> -> <a href="Database-HaskellDB-Sql.html#t:SqlType">SqlType</a></li><li class="src short"><a href="#v:defaultSqlQuote">defaultSqlQuote</a> :: <a href="Database-HaskellDB-Sql-Generate.html#t:SqlGenerator">SqlGenerator</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a></li><li class="src short"><a href="#v:toSqlSelect">toSqlSelect</a> :: <a href="Database-HaskellDB-Sql.html#t:SqlSelect">SqlSelect</a> -> <a href="Database-HaskellDB-Sql.html#t:SqlSelect">SqlSelect</a></li></ul></div><div id="interface"><h1>Documentation</h1><div class="top"><p class="src"><a name="v:mkSqlGenerator" class="def">mkSqlGenerator</a> :: <a href="Database-HaskellDB-Sql-Generate.html#t:SqlGenerator">SqlGenerator</a> -> <a href="Database-HaskellDB-Sql-Generate.html#t:SqlGenerator">SqlGenerator</a><a href="src/Database-HaskellDB-Sql-Default.html#mkSqlGenerator" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:defaultSqlGenerator" class="def">defaultSqlGenerator</a> :: <a href="Database-HaskellDB-Sql-Generate.html#t:SqlGenerator">SqlGenerator</a><a href="src/Database-HaskellDB-Sql-Default.html#defaultSqlGenerator" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:defaultSqlQuery" class="def">defaultSqlQuery</a> :: <a href="Database-HaskellDB-Sql-Generate.html#t:SqlGenerator">SqlGenerator</a> -> <a href="Database-HaskellDB-PrimQuery.html#t:PrimQuery">PrimQuery</a> -> <a href="Database-HaskellDB-Sql.html#t:SqlSelect">SqlSelect</a><a href="src/Database-HaskellDB-Sql-Default.html#defaultSqlQuery" class="link">Source</a></p><div class="doc"><p>Creates a <code><a href="Database-HaskellDB-Sql.html#t:SqlSelect">SqlSelect</a></code> based on the <code><a href="Database-HaskellDB-PrimQuery.html#t:PrimQuery">PrimQuery</a></code> supplied.
Corresponds to the SQL statement SELECT.
</p></div></div><div class="top"><p class="src"><a name="v:defaultSqlUpdate" class="def">defaultSqlUpdate</a><a href="src/Database-HaskellDB-Sql-Default.html#defaultSqlUpdate" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Database-HaskellDB-Sql-Generate.html#t:SqlGenerator">SqlGenerator</a></td><td class="doc empty"> </td></tr><tr><td class="src">-> <a href="Database-HaskellDB-PrimQuery.html#t:TableName">TableName</a></td><td class="doc"><p>Name of the table to update.
</p></td></tr><tr><td class="src">-> [<a href="Database-HaskellDB-PrimQuery.html#t:PrimExpr">PrimExpr</a>]</td><td class="doc"><p>Conditions which must all be true for a row
to be updated.
</p></td></tr><tr><td class="src">-> <a href="Database-HaskellDB-PrimQuery.html#t:Assoc">Assoc</a></td><td class="doc"><p>Update the data with this.
</p></td></tr><tr><td class="src">-> <a href="Database-HaskellDB-Sql.html#t:SqlUpdate">SqlUpdate</a></td><td class="doc empty"> </td></tr></table></div><div class="doc"><p>Creates a <code><a href="Database-HaskellDB-Sql.html#t:SqlUpdate">SqlUpdate</a></code>. Corresponds to the SQL statement
UPDATE which updates data in a table.
</p></div></div><div class="top"><p class="src"><a name="v:defaultSqlDelete" class="def">defaultSqlDelete</a><a href="src/Database-HaskellDB-Sql-Default.html#defaultSqlDelete" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Database-HaskellDB-Sql-Generate.html#t:SqlGenerator">SqlGenerator</a></td><td class="doc empty"> </td></tr><tr><td class="src">-> <a href="Database-HaskellDB-PrimQuery.html#t:TableName">TableName</a></td><td class="doc"><p>Name of the table
</p></td></tr><tr><td class="src">-> [<a href="Database-HaskellDB-PrimQuery.html#t:PrimExpr">PrimExpr</a>]</td><td class="doc"><p>Criteria which must all be true for a row
to be deleted.
</p></td></tr><tr><td class="src">-> <a href="Database-HaskellDB-Sql.html#t:SqlDelete">SqlDelete</a></td><td class="doc empty"> </td></tr></table></div><div class="doc"><p>Creates a <code><a href="Database-HaskellDB-Sql.html#t:SqlDelete">SqlDelete</a></code>. Corresponds to the SQL statement
DELETE which deletes rows in a table.
</p></div></div><div class="top"><p class="src"><a name="v:defaultSqlInsert" class="def">defaultSqlInsert</a><a href="src/Database-HaskellDB-Sql-Default.html#defaultSqlInsert" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Database-HaskellDB-Sql-Generate.html#t:SqlGenerator">SqlGenerator</a></td><td class="doc empty"> </td></tr><tr><td class="src">-> <a href="Database-HaskellDB-PrimQuery.html#t:TableName">TableName</a></td><td class="doc"><p>Name of the table
</p></td></tr><tr><td class="src">-> <a href="Database-HaskellDB-PrimQuery.html#t:Assoc">Assoc</a></td><td class="doc"><p>What to insert.
</p></td></tr><tr><td class="src">-> <a href="Database-HaskellDB-Sql.html#t:SqlInsert">SqlInsert</a></td><td class="doc empty"> </td></tr></table></div><div class="doc"><p>Creates a <code><a href="Database-HaskellDB-Sql.html#t:SqlInsert">SqlInsert</a></code>.
</p></div></div><div class="top"><p class="src"><a name="v:defaultSqlInsertQuery" class="def">defaultSqlInsertQuery</a><a href="src/Database-HaskellDB-Sql-Default.html#defaultSqlInsertQuery" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Database-HaskellDB-Sql-Generate.html#t:SqlGenerator">SqlGenerator</a></td><td class="doc empty"> </td></tr><tr><td class="src">-> <a href="Database-HaskellDB-PrimQuery.html#t:TableName">TableName</a></td><td class="doc"><p>Name of the table
</p></td></tr><tr><td class="src">-> <a href="Database-HaskellDB-PrimQuery.html#t:PrimQuery">PrimQuery</a></td><td class="doc"><p>What to insert
</p></td></tr><tr><td class="src">-> <a href="Database-HaskellDB-Sql.html#t:SqlInsert">SqlInsert</a></td><td class="doc empty"> </td></tr></table></div><div class="doc"><p>Creates a <code><a href="Database-HaskellDB-Sql.html#t:SqlInsert">SqlInsert</a></code>. Corresponds to the SQL statement
INSERT INTO which is used to insert new rows in a table.
</p></div></div><div class="top"><p class="src"><a name="v:defaultSqlCreateDB" class="def">defaultSqlCreateDB</a><a href="src/Database-HaskellDB-Sql-Default.html#defaultSqlCreateDB" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Database-HaskellDB-Sql-Generate.html#t:SqlGenerator">SqlGenerator</a></td><td class="doc empty"> </td></tr><tr><td class="src">-> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a></td><td class="doc"><p>name of the database.
</p></td></tr><tr><td class="src">-> <a href="Database-HaskellDB-Sql.html#t:SqlCreate">SqlCreate</a></td><td class="doc empty"> </td></tr></table></div><div class="doc"><p>Use this to create a <code><a href="Database-HaskellDB-Sql.html#t:SqlCreate">SqlCreate</a></code> data type corresponding to
the SQL statement CREATE DATABASE which creates a new database.
</p></div></div><div class="top"><p class="src"><a name="v:defaultSqlCreateTable" class="def">defaultSqlCreateTable</a><a href="src/Database-HaskellDB-Sql-Default.html#defaultSqlCreateTable" class="link">Source</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: <a href="Database-HaskellDB-Sql-Generate.html#t:SqlGenerator">SqlGenerator</a></td><td class="doc empty"> </td></tr><tr><td class="src">-> <a href="Database-HaskellDB-PrimQuery.html#t:TableName">TableName</a></td><td class="doc"><p>name of the table to be created.
</p></td></tr><tr><td class="src">-> [(<a href="Database-HaskellDB-PrimQuery.html#t:Attribute">Attribute</a>, <a href="Database-HaskellDB-FieldType.html#t:FieldDesc">FieldDesc</a>)]</td><td class="doc"><p>Column descriptions
</p></td></tr><tr><td class="src">-> <a href="Database-HaskellDB-Sql.html#t:SqlCreate">SqlCreate</a></td><td class="doc empty"> </td></tr></table></div><div class="doc"><p>Use this to create a <code><a href="Database-HaskellDB-Sql.html#t:SqlCreate">SqlCreate</a></code> data type corresponding to
the SQL statement CREATE which creates a new table.
</p></div></div><div class="top"><p class="src"><a name="v:defaultSqlDropDB" class="def">defaultSqlDropDB</a> :: <a href="Database-HaskellDB-Sql-Generate.html#t:SqlGenerator">SqlGenerator</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a> -> <a href="Database-HaskellDB-Sql.html#t:SqlDrop">SqlDrop</a><a href="src/Database-HaskellDB-Sql-Default.html#defaultSqlDropDB" class="link">Source</a></p><div class="doc"><p>Creates a <code><a href="Database-HaskellDB-Sql.html#t:SqlDrop">SqlDrop</a></code> that delete the database with the
name given as the first argument.
</p></div></div><div class="top"><p class="src"><a name="v:defaultSqlDropTable" class="def">defaultSqlDropTable</a> :: <a href="Database-HaskellDB-Sql-Generate.html#t:SqlGenerator">SqlGenerator</a> -> <a href="Database-HaskellDB-PrimQuery.html#t:TableName">TableName</a> -> <a href="Database-HaskellDB-Sql.html#t:SqlDrop">SqlDrop</a><a href="src/Database-HaskellDB-Sql-Default.html#defaultSqlDropTable" class="link">Source</a></p><div class="doc"><p>Creates a <code><a href="Database-HaskellDB-Sql.html#t:SqlDrop">SqlDrop</a></code> that delete the database named
in the first argument.
</p></div></div><div class="top"><p class="src"><a name="v:defaultSqlEmpty" class="def">defaultSqlEmpty</a> :: <a href="Database-HaskellDB-Sql-Generate.html#t:SqlGenerator">SqlGenerator</a> -> <a href="Database-HaskellDB-Sql.html#t:SqlSelect">SqlSelect</a><a href="src/Database-HaskellDB-Sql-Default.html#defaultSqlEmpty" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:defaultSqlTable" class="def">defaultSqlTable</a> :: <a href="Database-HaskellDB-Sql-Generate.html#t:SqlGenerator">SqlGenerator</a> -> <a href="Database-HaskellDB-PrimQuery.html#t:TableName">TableName</a> -> <a href="Database-HaskellDB-PrimQuery.html#t:Scheme">Scheme</a> -> <a href="Database-HaskellDB-Sql.html#t:SqlSelect">SqlSelect</a><a href="src/Database-HaskellDB-Sql-Default.html#defaultSqlTable" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:defaultSqlProject" class="def">defaultSqlProject</a> :: <a href="Database-HaskellDB-Sql-Generate.html#t:SqlGenerator">SqlGenerator</a> -> <a href="Database-HaskellDB-PrimQuery.html#t:Assoc">Assoc</a> -> <a href="Database-HaskellDB-Sql.html#t:SqlSelect">SqlSelect</a> -> <a href="Database-HaskellDB-Sql.html#t:SqlSelect">SqlSelect</a><a href="src/Database-HaskellDB-Sql-Default.html#defaultSqlProject" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:defaultSqlRestrict" class="def">defaultSqlRestrict</a> :: <a href="Database-HaskellDB-Sql-Generate.html#t:SqlGenerator">SqlGenerator</a> -> <a href="Database-HaskellDB-PrimQuery.html#t:PrimExpr">PrimExpr</a> -> <a href="Database-HaskellDB-Sql.html#t:SqlSelect">SqlSelect</a> -> <a href="Database-HaskellDB-Sql.html#t:SqlSelect">SqlSelect</a><a href="src/Database-HaskellDB-Sql-Default.html#defaultSqlRestrict" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:defaultSqlBinary" class="def">defaultSqlBinary</a> :: <a href="Database-HaskellDB-Sql-Generate.html#t:SqlGenerator">SqlGenerator</a> -> <a href="Database-HaskellDB-PrimQuery.html#t:RelOp">RelOp</a> -> <a href="Database-HaskellDB-Sql.html#t:SqlSelect">SqlSelect</a> -> <a href="Database-HaskellDB-Sql.html#t:SqlSelect">SqlSelect</a> -> <a href="Database-HaskellDB-Sql.html#t:SqlSelect">SqlSelect</a><a href="src/Database-HaskellDB-Sql-Default.html#defaultSqlBinary" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:defaultSqlGroup" class="def">defaultSqlGroup</a> :: <a href="Database-HaskellDB-Sql-Generate.html#t:SqlGenerator">SqlGenerator</a> -> <a href="Database-HaskellDB-PrimQuery.html#t:Assoc">Assoc</a> -> <a href="Database-HaskellDB-Sql.html#t:SqlSelect">SqlSelect</a> -> <a href="Database-HaskellDB-Sql.html#t:SqlSelect">SqlSelect</a><a href="src/Database-HaskellDB-Sql-Default.html#defaultSqlGroup" class="link">Source</a></p><div class="doc"><p>Ensures the groupby value on the SqlSelect either preserves existing
grouping or that it will group on all columns (i.e, Mark == All).
</p></div></div><div class="top"><p class="src"><a name="v:defaultSqlSpecial" class="def">defaultSqlSpecial</a> :: <a href="Database-HaskellDB-Sql-Generate.html#t:SqlGenerator">SqlGenerator</a> -> <a href="Database-HaskellDB-PrimQuery.html#t:SpecialOp">SpecialOp</a> -> <a href="Database-HaskellDB-Sql.html#t:SqlSelect">SqlSelect</a> -> <a href="Database-HaskellDB-Sql.html#t:SqlSelect">SqlSelect</a><a href="src/Database-HaskellDB-Sql-Default.html#defaultSqlSpecial" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:defaultSqlExpr" class="def">defaultSqlExpr</a> :: <a href="Database-HaskellDB-Sql-Generate.html#t:SqlGenerator">SqlGenerator</a> -> <a href="Database-HaskellDB-PrimQuery.html#t:PrimExpr">PrimExpr</a> -> <a href="Database-HaskellDB-Sql.html#t:SqlExpr">SqlExpr</a><a href="src/Database-HaskellDB-Sql-Default.html#defaultSqlExpr" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:defaultSqlLiteral" class="def">defaultSqlLiteral</a> :: <a href="Database-HaskellDB-Sql-Generate.html#t:SqlGenerator">SqlGenerator</a> -> <a href="Database-HaskellDB-PrimQuery.html#t:Literal">Literal</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a><a href="src/Database-HaskellDB-Sql-Default.html#defaultSqlLiteral" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:defaultSqlType" class="def">defaultSqlType</a> :: <a href="Database-HaskellDB-Sql-Generate.html#t:SqlGenerator">SqlGenerator</a> -> <a href="Database-HaskellDB-FieldType.html#t:FieldType">FieldType</a> -> <a href="Database-HaskellDB-Sql.html#t:SqlType">SqlType</a><a href="src/Database-HaskellDB-Sql-Default.html#defaultSqlType" class="link">Source</a></p></div><div class="top"><p class="src"><a name="v:defaultSqlQuote" class="def">defaultSqlQuote</a> :: <a href="Database-HaskellDB-Sql-Generate.html#t:SqlGenerator">SqlGenerator</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a> -> <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.5.0.0/Data-String.html#t:String">String</a><a href="src/Database-HaskellDB-Sql-Default.html#defaultSqlQuote" class="link">Source</a></p></div><h1 id="g:1">Utilities
</h1><div class="top"><p class="src"><a name="v:toSqlSelect" class="def">toSqlSelect</a> :: <a href="Database-HaskellDB-Sql.html#t:SqlSelect">SqlSelect</a> -> <a href="Database-HaskellDB-Sql.html#t:SqlSelect">SqlSelect</a><a href="src/Database-HaskellDB-Sql-Default.html#toSqlSelect" class="link">Source</a></p><div class="doc"><p>Make sure our SqlSelect statement is really a SqlSelect and not
another constructor.
</p></div></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.10.0</p></div></body></html>
|