Skip to content

Commit 22cd3e7

Browse files
author
flow-php
committed
1 parent 2787b78 commit 22cd3e7

File tree

894 files changed

+30507
-3148
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

894 files changed

+30507
-3148
lines changed

aggregations/aggregating_functions/average/index.html

Lines changed: 6 additions & 6 deletions
Large diffs are not rendered by default.

aggregations/aggregating_functions/first/index.html

Lines changed: 6 additions & 6 deletions
Large diffs are not rendered by default.

aggregations/aggregating_functions/last/index.html

Lines changed: 6 additions & 6 deletions
Large diffs are not rendered by default.

aggregations/aggregating_functions/max/index.html

Lines changed: 6 additions & 6 deletions
Large diffs are not rendered by default.

aggregations/aggregating_functions/min/index.html

Lines changed: 6 additions & 6 deletions
Large diffs are not rendered by default.

aggregations/aggregating_functions/sum/index.html

Lines changed: 6 additions & 6 deletions
Large diffs are not rendered by default.

aggregations/grouping/group_by/index.html

Lines changed: 6 additions & 6 deletions
Large diffs are not rendered by default.

aggregations/grouping/group_by_sum/index.html

Lines changed: 6 additions & 6 deletions
Large diffs are not rendered by default.

assets/codemirror/completions/dsl-054332073c604c9cb1f681cdda67844c.js renamed to assets/codemirror/completions/dsl-138687cf9ad581fecf5ce39e6af409ad.js

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* CodeMirror Completer for Flow PHP DSL Functions
33
*
4-
* Total functions: 610
4+
* Total functions: 611
55
*
66
* This completer provides autocompletion for all Flow PHP DSL functions:
77
* - Extractors (flow-extractors)
@@ -977,6 +977,24 @@ const dslFunctions = [
977977
},
978978
apply: snippet("\\Flow\\ETL\\DSL\\bool_schema(" + "$" + "{" + "1:name" + "}" + ", " + "$" + "{" + "2:nullable" + "}" + ", " + "$" + "{" + "3:metadata" + "}" + ")"),
979979
boost: 10
980+
}, {
981+
label: "bulk_insert",
982+
type: "function",
983+
detail: "flow\u002Ddsl\u002Dhelpers",
984+
info: () => {
985+
const div = document.createElement("div")
986+
div.innerHTML = `
987+
<div style="font-family: 'Fira Code', 'JetBrains Mono', monospace; margin-bottom: 8px;">
988+
<span class=\"fn-name\">bulk_insert</span><span class=\"fn-operator\">(</span><span class=\"fn-type\">string</span> <span class=\"fn-param\">$table</span><span class=\"fn-operator\">,</span> <span class=\"fn-type\">array</span> <span class=\"fn-param\">$columns</span><span class=\"fn-operator\">,</span> <span class=\"fn-type\">int</span> <span class=\"fn-param\">$rowCount</span><span class=\"fn-operator\">)</span> <span class=\"fn-operator\">:</span> <span class=\"fn-return\">BulkInsert</span>
989+
</div>
990+
<div style="color: #8b949e; font-size: 13px;">
991+
Create an optimized bulk INSERT query for high-performance multi-row inserts.<br>Unlike insert() which uses immutable builder patterns (O(n²) for n rows),<br>this function generates SQL directly using string operations (O(n) complexity).<br>@param string $table Table name<br>@param list<string> $columns Column names<br>@param int $rowCount Number of rows to insert
992+
</div>
993+
`
994+
return div
995+
},
996+
apply: snippet("\\Flow\\PostgreSql\\DSL\\bulk_insert(" + "$" + "{" + "1:table" + "}" + ", " + "$" + "{" + "2:columns" + "}" + ", " + "$" + "{" + "3:rowCount" + "}" + ")"),
997+
boost: 10
980998
}, {
981999
label: "call",
9821000
type: "function",

assets/importmap.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@
108108
"type": "js"
109109
},
110110
"\/assets\/codemirror\/completions\/dsl.js": {
111-
"path": "\/assets\/codemirror\/completions\/dsl-054332073c604c9cb1f681cdda67844c.js",
111+
"path": "\/assets\/codemirror\/completions\/dsl-138687cf9ad581fecf5ce39e6af409ad.js",
112112
"type": "js"
113113
},
114114
"\/assets\/codemirror\/completions\/dataframe.js": {

0 commit comments

Comments
 (0)