Skip to content

Commit 47cc0fd

Browse files
committed
Update generated documentation for version 1.5.1
1 parent a7a034c commit 47cc0fd

15 files changed

Lines changed: 157 additions & 138 deletions

core/querying.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,8 @@ <h2><a name="How-to-see-the-SQL-clause" class="anchor" href="#How-to-see-the-SQL
253253
<pre class="fssnip highlighted"><code lang="fsharp"><span onmouseout="hideTip(event, 'fs4', 23)" onmouseover="showTip(event, 'fs4', 23)" class="id">FSharp</span><span class="pn">.</span><span onmouseout="hideTip(event, 'fs5', 24)" onmouseover="showTip(event, 'fs5', 24)" class="id">Data</span><span class="pn">.</span><span onmouseout="hideTip(event, 'fs6', 25)" onmouseover="showTip(event, 'fs6', 25)" class="id">Sql</span><span class="pn">.</span><span class="id">Common</span><span class="pn">.</span><span class="id">QueryEvents</span><span class="pn">.</span><span class="id">SqlQueryEvent</span> <span class="o">|&gt;</span> <span onmouseout="hideTip(event, 'fs18', 26)" onmouseover="showTip(event, 'fs18', 26)" class="m">Event</span><span class="pn">.</span><span onmouseout="hideTip(event, 'fs19', 27)" onmouseover="showTip(event, 'fs19', 27)" class="id">add</span> <span class="pn">(</span><span onmouseout="hideTip(event, 'fs20', 28)" onmouseover="showTip(event, 'fs20', 28)" class="fn">printfn</span> <span class="s">&quot;Executing SQL: </span><span class="pf">%O</span><span class="s">&quot;</span><span class="pn">)</span>
254254
</code></pre>
255255
<p>The event has separate fields of Command and Parameters
256-
for you to store your clauses with a strongly typed logging system like <a href="https://github.com/logary/logary">Logary</a>.</p>
256+
for you to store your clauses with a strongly typed logging system like <a href="https://github.com/logary/logary">Logary</a>.
257+
As you can see, SQLProvider does parametrized SQL. If you want to open the parameters for easier copy&amp;paste query debugging, you can do <code>fun e -&gt; e.ToRawSqlWithParamInfo()</code>.</p>
257258
<h1><a name="Querying" class="anchor" href="#Querying">Querying</a></h1>
258259
<pre class="fssnip highlighted"><code lang="fsharp"><span class="k">type</span> <span onmouseout="hideTip(event, 'fs21', 29)" onmouseover="showTip(event, 'fs21', 29)" class="rt">sql</span> <span class="o">=</span> <span onmouseout="hideTip(event, 'fs22', 30)" onmouseover="showTip(event, 'fs22', 30)" class="rt">SqlDataProvider</span><span class="pn">&lt;</span>
259260
<span class="id">Common</span><span class="pn">.</span><span class="id">DatabaseProviderTypes</span><span class="pn">.</span><span class="id">SQLITE</span><span class="pn">,</span>

index.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

reference/fsharp-data-sql-common-commontasks.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -772,7 +772,7 @@ <h3>
772772
<div class="fsdocs-source-link" title="Copy signature (XML)" onclick="Clipboard_CopyTo('<see cref=\'M:FSharp.Data.Sql.Common.CommonTasks.searchDataTypeFromCache\'/>')">
773773
<iconify-icon icon="bi:filetype-xml" height="24" width="24"></iconify-icon>
774774
</div>
775-
<a href="https://github.com/fsprojects/SQLProvider/tree/master/src/SQLProvider.Common/SqlRuntime.Common.fs#L885-885" class="fsdocs-source-link" title="Source on GitHub">
775+
<a href="https://github.com/fsprojects/SQLProvider/tree/master/src/SQLProvider.Common/SqlRuntime.Common.fs#L886-886" class="fsdocs-source-link" title="Source on GitHub">
776776
<iconify-icon icon="ri:github-fill" height="24" width="24"></iconify-icon>
777777
</a>
778778
<p class="fsdocs-summary">
@@ -903,7 +903,7 @@ <h3>
903903
<div class="fsdocs-source-link" title="Copy signature (XML)" onclick="Clipboard_CopyTo('<see cref=\'M:FSharp.Data.Sql.Common.CommonTasks.sortEntities\'/>')">
904904
<iconify-icon icon="bi:filetype-xml" height="24" width="24"></iconify-icon>
905905
</div>
906-
<a href="https://github.com/fsprojects/SQLProvider/tree/master/src/SQLProvider.Common/SqlRuntime.Common.fs#L881-881" class="fsdocs-source-link" title="Source on GitHub">
906+
<a href="https://github.com/fsprojects/SQLProvider/tree/master/src/SQLProvider.Common/SqlRuntime.Common.fs#L882-882" class="fsdocs-source-link" title="Source on GitHub">
907907
<iconify-icon icon="ri:github-fill" height="24" width="24"></iconify-icon>
908908
</a>
909909
<p class="fsdocs-summary">

reference/fsharp-data-sql-common-entitystate.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ <h3>
329329
</td>
330330
<td class="fsdocs-member-xmldoc">
331331
<div class="fsdocs-summary">
332-
<a href="https://github.com/fsprojects/SQLProvider/tree/master/src/SQLProvider.Common/SqlRuntime.Common.fs#L153-153" class="fsdocs-source-link" title="Source on GitHub">
332+
<a href="https://github.com/fsprojects/SQLProvider/tree/master/src/SQLProvider.Common/SqlRuntime.Common.fs#L154-154" class="fsdocs-source-link" title="Source on GitHub">
333333
<iconify-icon icon="ri:github-fill" height="24" width="24"></iconify-icon>
334334
</a>
335335
<p class="fsdocs-summary">
@@ -362,7 +362,7 @@ <h3>
362362
</td>
363363
<td class="fsdocs-member-xmldoc">
364364
<div class="fsdocs-summary">
365-
<a href="https://github.com/fsprojects/SQLProvider/tree/master/src/SQLProvider.Common/SqlRuntime.Common.fs#L155-155" class="fsdocs-source-link" title="Source on GitHub">
365+
<a href="https://github.com/fsprojects/SQLProvider/tree/master/src/SQLProvider.Common/SqlRuntime.Common.fs#L156-156" class="fsdocs-source-link" title="Source on GitHub">
366366
<iconify-icon icon="ri:github-fill" height="24" width="24"></iconify-icon>
367367
</a>
368368
<p class="fsdocs-summary">
@@ -395,7 +395,7 @@ <h3>
395395
</td>
396396
<td class="fsdocs-member-xmldoc">
397397
<div class="fsdocs-summary">
398-
<a href="https://github.com/fsprojects/SQLProvider/tree/master/src/SQLProvider.Common/SqlRuntime.Common.fs#L156-156" class="fsdocs-source-link" title="Source on GitHub">
398+
<a href="https://github.com/fsprojects/SQLProvider/tree/master/src/SQLProvider.Common/SqlRuntime.Common.fs#L157-157" class="fsdocs-source-link" title="Source on GitHub">
399399
<iconify-icon icon="ri:github-fill" height="24" width="24"></iconify-icon>
400400
</a>
401401
<p class="fsdocs-summary">
@@ -475,7 +475,7 @@ <h3>
475475
</td>
476476
<td class="fsdocs-member-xmldoc">
477477
<div class="fsdocs-summary">
478-
<a href="https://github.com/fsprojects/SQLProvider/tree/master/src/SQLProvider.Common/SqlRuntime.Common.fs#L152-152" class="fsdocs-source-link" title="Source on GitHub">
478+
<a href="https://github.com/fsprojects/SQLProvider/tree/master/src/SQLProvider.Common/SqlRuntime.Common.fs#L153-153" class="fsdocs-source-link" title="Source on GitHub">
479479
<iconify-icon icon="ri:github-fill" height="24" width="24"></iconify-icon>
480480
</a>
481481
<p class="fsdocs-summary">

0 commit comments

Comments
 (0)