Skip to content

Commit

Permalink
v1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicolab committed Apr 12, 2021
1 parent f3d40f2 commit c80ae44
Show file tree
Hide file tree
Showing 40 changed files with 5,045 additions and 176 deletions.
58 changes: 48 additions & 10 deletions docs/DBX.html
Original file line number Diff line number Diff line change
Expand Up @@ -141,11 +141,6 @@ <h1 class="project-name">

</li>

<li class=" " data-id="dbx/DBX/ORM/Model/Schema" data-name="dbx::orm::model::schema">
<a href="DBX/ORM/Model/Schema.html">Schema</a>

</li>

</ul>


Expand All @@ -161,6 +156,51 @@ <h1 class="project-name">

</li>

<li class="parent " data-id="dbx/DBX/ORM/Schema" data-name="dbx::orm::schema">
<a href="DBX/ORM/Schema.html">Schema</a>

<ul>

<li class=" " data-id="dbx/DBX/ORM/Schema/MetaField" data-name="dbx::orm::schema::metafield">
<a href="DBX/ORM/Schema/MetaField.html">MetaField</a>

</li>

<li class=" " data-id="dbx/DBX/ORM/Schema/MetaFieldHash" data-name="dbx::orm::schema::metafieldhash">
<a href="DBX/ORM/Schema/MetaFieldHash.html">MetaFieldHash</a>

</li>

<li class=" " data-id="dbx/DBX/ORM/Schema/RelationDef" data-name="dbx::orm::schema::relationdef">
<a href="DBX/ORM/Schema/RelationDef.html">RelationDef</a>

</li>

</ul>


</li>

<li class=" " data-id="dbx/DBX/ORM/SchemaField" data-name="dbx::orm::schemafield">
<a href="DBX/ORM/SchemaField.html">SchemaField</a>

</li>

<li class=" " data-id="dbx/DBX/ORM/SchemaInjectFields" data-name="dbx::orm::schemainjectfields">
<a href="DBX/ORM/SchemaInjectFields.html">SchemaInjectFields</a>

</li>

<li class=" " data-id="dbx/DBX/ORM/SchemaInjectForFinal" data-name="dbx::orm::schemainjectforfinal">
<a href="DBX/ORM/SchemaInjectForFinal.html">SchemaInjectForFinal</a>

</li>

<li class=" " data-id="dbx/DBX/ORM/SchemaRelation" data-name="dbx::orm::schemarelation">
<a href="DBX/ORM/SchemaRelation.html">SchemaRelation</a>

</li>

</ul>


Expand Down Expand Up @@ -287,14 +327,12 @@ <h2>
<p>Model:</p>

<pre><code class="language-crystal"><span class="k">class</span> <span class="t">User</span>
<span class="k">include</span> <span class="t">JSON</span><span class="t">::</span><span class="t">Serializable</span>
<span class="k">include</span> <span class="t">DB</span><span class="t">::</span><span class="t">Serializable</span>
<span class="k">include</span> <span class="t">DB</span><span class="t">::</span><span class="t">Serializable</span><span class="t">::</span><span class="t">NonStrict</span>
<span class="k">include</span> <span class="t">DBX</span><span class="t">::</span><span class="t">ORM</span><span class="t">::</span><span class="t">DSL</span>

property lang : <span class="t">String</span>
field lang : <span class="t">String</span>

@[<span class="t">JSON</span><span class="t">::</span><span class="t">Field</span>(key: <span class="s">&quot;firstName&quot;</span>)]
property first_name : <span class="t">String</span>?
field first_name : <span class="t">String</span>?
<span class="k">end</span>

db <span class="o">=</span> <span class="t">DBX</span>.open <span class="s">&quot;app&quot;</span>, <span class="t">App</span>.cfg.db_uri
Expand Down
50 changes: 45 additions & 5 deletions docs/DBX/Adapter.html
Original file line number Diff line number Diff line change
Expand Up @@ -141,11 +141,6 @@ <h1 class="project-name">

</li>

<li class=" " data-id="dbx/DBX/ORM/Model/Schema" data-name="dbx::orm::model::schema">
<a href="../DBX/ORM/Model/Schema.html">Schema</a>

</li>

</ul>


Expand All @@ -161,6 +156,51 @@ <h1 class="project-name">

</li>

<li class="parent " data-id="dbx/DBX/ORM/Schema" data-name="dbx::orm::schema">
<a href="../DBX/ORM/Schema.html">Schema</a>

<ul>

<li class=" " data-id="dbx/DBX/ORM/Schema/MetaField" data-name="dbx::orm::schema::metafield">
<a href="../DBX/ORM/Schema/MetaField.html">MetaField</a>

</li>

<li class=" " data-id="dbx/DBX/ORM/Schema/MetaFieldHash" data-name="dbx::orm::schema::metafieldhash">
<a href="../DBX/ORM/Schema/MetaFieldHash.html">MetaFieldHash</a>

</li>

<li class=" " data-id="dbx/DBX/ORM/Schema/RelationDef" data-name="dbx::orm::schema::relationdef">
<a href="../DBX/ORM/Schema/RelationDef.html">RelationDef</a>

</li>

</ul>


</li>

<li class=" " data-id="dbx/DBX/ORM/SchemaField" data-name="dbx::orm::schemafield">
<a href="../DBX/ORM/SchemaField.html">SchemaField</a>

</li>

<li class=" " data-id="dbx/DBX/ORM/SchemaInjectFields" data-name="dbx::orm::schemainjectfields">
<a href="../DBX/ORM/SchemaInjectFields.html">SchemaInjectFields</a>

</li>

<li class=" " data-id="dbx/DBX/ORM/SchemaInjectForFinal" data-name="dbx::orm::schemainjectforfinal">
<a href="../DBX/ORM/SchemaInjectForFinal.html">SchemaInjectForFinal</a>

</li>

<li class=" " data-id="dbx/DBX/ORM/SchemaRelation" data-name="dbx::orm::schemarelation">
<a href="../DBX/ORM/SchemaRelation.html">SchemaRelation</a>

</li>

</ul>


Expand Down
50 changes: 45 additions & 5 deletions docs/DBX/Adapter/Base.html
Original file line number Diff line number Diff line change
Expand Up @@ -141,11 +141,6 @@ <h1 class="project-name">

</li>

<li class=" " data-id="dbx/DBX/ORM/Model/Schema" data-name="dbx::orm::model::schema">
<a href="../../DBX/ORM/Model/Schema.html">Schema</a>

</li>

</ul>


Expand All @@ -161,6 +156,51 @@ <h1 class="project-name">

</li>

<li class="parent " data-id="dbx/DBX/ORM/Schema" data-name="dbx::orm::schema">
<a href="../../DBX/ORM/Schema.html">Schema</a>

<ul>

<li class=" " data-id="dbx/DBX/ORM/Schema/MetaField" data-name="dbx::orm::schema::metafield">
<a href="../../DBX/ORM/Schema/MetaField.html">MetaField</a>

</li>

<li class=" " data-id="dbx/DBX/ORM/Schema/MetaFieldHash" data-name="dbx::orm::schema::metafieldhash">
<a href="../../DBX/ORM/Schema/MetaFieldHash.html">MetaFieldHash</a>

</li>

<li class=" " data-id="dbx/DBX/ORM/Schema/RelationDef" data-name="dbx::orm::schema::relationdef">
<a href="../../DBX/ORM/Schema/RelationDef.html">RelationDef</a>

</li>

</ul>


</li>

<li class=" " data-id="dbx/DBX/ORM/SchemaField" data-name="dbx::orm::schemafield">
<a href="../../DBX/ORM/SchemaField.html">SchemaField</a>

</li>

<li class=" " data-id="dbx/DBX/ORM/SchemaInjectFields" data-name="dbx::orm::schemainjectfields">
<a href="../../DBX/ORM/SchemaInjectFields.html">SchemaInjectFields</a>

</li>

<li class=" " data-id="dbx/DBX/ORM/SchemaInjectForFinal" data-name="dbx::orm::schemainjectforfinal">
<a href="../../DBX/ORM/SchemaInjectForFinal.html">SchemaInjectForFinal</a>

</li>

<li class=" " data-id="dbx/DBX/ORM/SchemaRelation" data-name="dbx::orm::schemarelation">
<a href="../../DBX/ORM/SchemaRelation.html">SchemaRelation</a>

</li>

</ul>


Expand Down
50 changes: 45 additions & 5 deletions docs/DBX/Adapter/PGQueryBuilder.html
Original file line number Diff line number Diff line change
Expand Up @@ -141,11 +141,6 @@ <h1 class="project-name">

</li>

<li class=" " data-id="dbx/DBX/ORM/Model/Schema" data-name="dbx::orm::model::schema">
<a href="../../DBX/ORM/Model/Schema.html">Schema</a>

</li>

</ul>


Expand All @@ -161,6 +156,51 @@ <h1 class="project-name">

</li>

<li class="parent " data-id="dbx/DBX/ORM/Schema" data-name="dbx::orm::schema">
<a href="../../DBX/ORM/Schema.html">Schema</a>

<ul>

<li class=" " data-id="dbx/DBX/ORM/Schema/MetaField" data-name="dbx::orm::schema::metafield">
<a href="../../DBX/ORM/Schema/MetaField.html">MetaField</a>

</li>

<li class=" " data-id="dbx/DBX/ORM/Schema/MetaFieldHash" data-name="dbx::orm::schema::metafieldhash">
<a href="../../DBX/ORM/Schema/MetaFieldHash.html">MetaFieldHash</a>

</li>

<li class=" " data-id="dbx/DBX/ORM/Schema/RelationDef" data-name="dbx::orm::schema::relationdef">
<a href="../../DBX/ORM/Schema/RelationDef.html">RelationDef</a>

</li>

</ul>


</li>

<li class=" " data-id="dbx/DBX/ORM/SchemaField" data-name="dbx::orm::schemafield">
<a href="../../DBX/ORM/SchemaField.html">SchemaField</a>

</li>

<li class=" " data-id="dbx/DBX/ORM/SchemaInjectFields" data-name="dbx::orm::schemainjectfields">
<a href="../../DBX/ORM/SchemaInjectFields.html">SchemaInjectFields</a>

</li>

<li class=" " data-id="dbx/DBX/ORM/SchemaInjectForFinal" data-name="dbx::orm::schemainjectforfinal">
<a href="../../DBX/ORM/SchemaInjectForFinal.html">SchemaInjectForFinal</a>

</li>

<li class=" " data-id="dbx/DBX/ORM/SchemaRelation" data-name="dbx::orm::schemarelation">
<a href="../../DBX/ORM/SchemaRelation.html">SchemaRelation</a>

</li>

</ul>


Expand Down
50 changes: 45 additions & 5 deletions docs/DBX/Adapter/PostgreSQL.html
Original file line number Diff line number Diff line change
Expand Up @@ -141,11 +141,6 @@ <h1 class="project-name">

</li>

<li class=" " data-id="dbx/DBX/ORM/Model/Schema" data-name="dbx::orm::model::schema">
<a href="../../DBX/ORM/Model/Schema.html">Schema</a>

</li>

</ul>


Expand All @@ -161,6 +156,51 @@ <h1 class="project-name">

</li>

<li class="parent " data-id="dbx/DBX/ORM/Schema" data-name="dbx::orm::schema">
<a href="../../DBX/ORM/Schema.html">Schema</a>

<ul>

<li class=" " data-id="dbx/DBX/ORM/Schema/MetaField" data-name="dbx::orm::schema::metafield">
<a href="../../DBX/ORM/Schema/MetaField.html">MetaField</a>

</li>

<li class=" " data-id="dbx/DBX/ORM/Schema/MetaFieldHash" data-name="dbx::orm::schema::metafieldhash">
<a href="../../DBX/ORM/Schema/MetaFieldHash.html">MetaFieldHash</a>

</li>

<li class=" " data-id="dbx/DBX/ORM/Schema/RelationDef" data-name="dbx::orm::schema::relationdef">
<a href="../../DBX/ORM/Schema/RelationDef.html">RelationDef</a>

</li>

</ul>


</li>

<li class=" " data-id="dbx/DBX/ORM/SchemaField" data-name="dbx::orm::schemafield">
<a href="../../DBX/ORM/SchemaField.html">SchemaField</a>

</li>

<li class=" " data-id="dbx/DBX/ORM/SchemaInjectFields" data-name="dbx::orm::schemainjectfields">
<a href="../../DBX/ORM/SchemaInjectFields.html">SchemaInjectFields</a>

</li>

<li class=" " data-id="dbx/DBX/ORM/SchemaInjectForFinal" data-name="dbx::orm::schemainjectforfinal">
<a href="../../DBX/ORM/SchemaInjectForFinal.html">SchemaInjectForFinal</a>

</li>

<li class=" " data-id="dbx/DBX/ORM/SchemaRelation" data-name="dbx::orm::schemarelation">
<a href="../../DBX/ORM/SchemaRelation.html">SchemaRelation</a>

</li>

</ul>


Expand Down
Loading

0 comments on commit c80ae44

Please sign in to comment.