<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <link rel="stylesheet" href="style.css" type="text/css"> <meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type"> <link rel="Start" href="index.html"> <link rel="Up" href="Sql_orm.html"> <link title="Index of types" rel=Appendix href="index_types.html"> <link title="Index of values" rel=Appendix href="index_values.html"> <link title="Index of modules" rel=Appendix href="index_modules.html"> <link title="Sql_orm" rel="Chapter" href="Sql_orm.html"><title>Sql_orm.Schema</title> </head> <body> <div class="navbar"> <a href="Sql_orm.html">Up</a> </div> <center><h1>Module <a href="type_Sql_orm.Schema.html">Sql_orm.Schema</a></h1></center> <br> <pre><span class="keyword">module</span> Schema: <code class="code">sig</code> <a href="Sql_orm.Schema.html">..</a> <code class="code">end</code></pre><hr width="100%"> <pre><span class="keyword">type</span> <a name="TYPEfield_options"></a><code class="type"></code>field_options = <code class="type">[ `Index | `Optional | `Unique ]</code> </pre> <br><code><span class="keyword">type</span> <a name="TYPEtable_options"></a><code class="type"></code>table_options = {</code><table class="typetable"> <tr> <td align="left" valign="top" > <code> </code></td> <td align="left" valign="top" > <code>unique : <code class="type">string list list</code>;</code></td> </tr></table> } <pre><span class="keyword">type</span> <a name="TYPEs"></a><code class="type"></code>s </pre> <pre><span class="keyword">type</span> <a name="TYPEg"></a><code class="type"></code>g </pre> <pre><span class="keyword">val</span> <a name="VALtext"></a>text : <code class="type">?flags:<a href="Sql_orm.Schema.html#TYPEfield_options">field_options</a> list -> string -> <a href="Sql_orm.Schema.html#TYPEs">s</a></code></pre><pre><span class="keyword">val</span> <a name="VALblob"></a>blob : <code class="type">?flags:<a href="Sql_orm.Schema.html#TYPEfield_options">field_options</a> list -> string -> <a href="Sql_orm.Schema.html#TYPEs">s</a></code></pre><pre><span class="keyword">val</span> <a name="VALreal"></a>real : <code class="type">?flags:<a href="Sql_orm.Schema.html#TYPEfield_options">field_options</a> list -> string -> <a href="Sql_orm.Schema.html#TYPEs">s</a></code></pre><pre><span class="keyword">val</span> <a name="VALdate"></a>date : <code class="type">?flags:<a href="Sql_orm.Schema.html#TYPEfield_options">field_options</a> list -> string -> <a href="Sql_orm.Schema.html#TYPEs">s</a></code></pre><pre><span class="keyword">val</span> <a name="VALinteger"></a>integer : <code class="type">?flags:<a href="Sql_orm.Schema.html#TYPEfield_options">field_options</a> list -> string -> <a href="Sql_orm.Schema.html#TYPEs">s</a></code></pre><pre><span class="keyword">val</span> <a name="VALforeign"></a>foreign : <code class="type">?flags:<a href="Sql_orm.Schema.html#TYPEfield_options">field_options</a> list -><br> string -> string -> <a href="Sql_orm.Schema.html#TYPEs">s</a></code></pre><pre><span class="keyword">val</span> <a name="VALforeign_many"></a>foreign_many : <code class="type">?flags:<a href="Sql_orm.Schema.html#TYPEfield_options">field_options</a> list -><br> string -> string -> <a href="Sql_orm.Schema.html#TYPEs">s</a></code></pre><pre><span class="keyword">type</span> <a name="TYPEcollection"></a><code class="type"></code>collection </pre> <pre><span class="keyword">val</span> <a name="VALmake"></a>make : <code class="type">(string * <a href="Sql_orm.Schema.html#TYPEs">s</a> list * (string list * string list) list *<br> <a href="Sql_orm.Schema.html#TYPEtable_options">table_options</a>)<br> list -> <a href="Sql_orm.Schema.html#TYPEcollection">collection</a></code></pre><pre><span class="keyword">val</span> <a name="VALdefault_opts"></a>default_opts : <code class="type"><a href="Sql_orm.Schema.html#TYPEtable_options">table_options</a></code></pre></body></html>