Skip to content

Commit

Permalink
Deployed 13e0baf with MkDocs version: 1.4.3
Browse files Browse the repository at this point in the history
  • Loading branch information
pine3ree committed Oct 17, 2023
1 parent b97b175 commit 00044bb
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 13 deletions.
18 changes: 12 additions & 6 deletions db/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -804,12 +804,18 @@ <h3 id="dbinsert">Db::insert()</h3>
],
])-&gt;execute();
</code></pre>
<p>By default <code>Insert::values(array $values, bool $add = false)</code> and
<code>Insert::row(array $row, bool $add = false)</code> will set insert values removing
any previously accumulated set of values. </p>
<p>The opposite happens for <code>Insert::rows(array $rows, bool $add = true)</code> and
<code>Insert::multipleValues(array $values, bool $add = true)</code>. These methods calls
will add the new rows/values provided to the existing ones.</p>
<p>By default
- <code>Insert::values(array $values, bool $add = false)</code> and
- <code>Insert::row(array $row, bool $add = false)</code> and
- <code>Insert::rows(array $rows, bool $add = false)</code> and
- <code>Insert::multipleValues(array $multiple_values, bool $add = false)</code></p>
<p>will define the insert values removing any previously accumulated set of values.</p>
<p>The opposite happens for
- <code>Insert::values(array $values, bool $add = true)</code> and
- <code>Insert::row(array $row, bool $add = true)</code> and
- <code>Insert::rows(array $rows, bool $add = true)</code> and
- <code>Insert::multipleValues(array $multiple_values, bool $add = true)</code></p>
<p>These methods calls will add the new rows/values provided to the existing ones.</p>
<pre><code class="language-php">$insert = $db-&gt;insert('product');

$insert-&gt;row(['price' =&gt; 111.11, 'stock' =&gt; 111]); // Adds 1 set of values
Expand Down
2 changes: 1 addition & 1 deletion search/search_index.json

Large diffs are not rendered by default.

Binary file modified sitemap.xml.gz
Binary file not shown.
18 changes: 12 additions & 6 deletions sql/statements/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -613,12 +613,18 @@ <h3 id="sqlinsert">Sql::insert()</h3>
],
];
</code></pre>
<p>By default <code>Insert::values(array $values, bool $add = false)</code> and
<code>Insert::row(array $row, bool $add = false)</code> will define the insert values
removing any previously accumulated set of values.</p>
<p>The opposite happens for <code>Insert::rows(array $rows, bool $add = true)</code> and
<code>Insert::multipleValues(array $values, bool $add = true)</code>. These methods calls
will add the new rows/values provided to the existing ones.</p>
<p>By default
- <code>Insert::values(array $values, bool $add = false)</code> and
- <code>Insert::row(array $row, bool $add = false)</code> and
- <code>Insert::rows(array $rows, bool $add = false)</code> and
- <code>Insert::multipleValues(array $multiple_values, bool $add = false)</code></p>
<p>will define the insert values removing any previously accumulated set of values.</p>
<p>The opposite happens for
- <code>Insert::values(array $values, bool $add = true)</code> and
- <code>Insert::row(array $row, bool $add = true)</code> and
- <code>Insert::rows(array $rows, bool $add = true)</code> and
- <code>Insert::multipleValues(array $multiple_values, bool $add = true)</code></p>
<p>These methods calls will add the new rows/values provided to the existing ones.</p>
<pre><code class="language-php">$insert = Sql::insert('product');

$insert-&gt;row(['price' =&gt; 111.11, 'stock' =&gt; 111]); // Adds 1 set of values
Expand Down

0 comments on commit 00044bb

Please sign in to comment.