Skip to content

Commit d6b9421

Browse files
author
flow-php
committed
1 parent 42c0966 commit d6b9421

File tree

700 files changed

+13641
-4448
lines changed

Some content is hidden

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

700 files changed

+13641
-4448
lines changed

aggregations/aggregating_functions/average/index.html

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

aggregations/aggregating_functions/first/index.html

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

aggregations/aggregating_functions/last/index.html

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

aggregations/aggregating_functions/max/index.html

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

aggregations/aggregating_functions/min/index.html

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

aggregations/aggregating_functions/sum/index.html

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

aggregations/grouping/group_by/index.html

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

aggregations/grouping/group_by_sum/index.html

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

assets/codemirror/completions/dataframe-e4e5dacbf1f3cb8396844d80ab59d51b.js renamed to assets/codemirror/completions/dataframe-a063b465eeccd6d35add721992bf081f.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -571,10 +571,10 @@ const dataframeMethods = [
571571
const div = document.createElement("div")
572572
div.innerHTML = `
573573
<div style="font-family: 'Fira Code', 'JetBrains Mono', monospace; margin-bottom: 8px;">
574-
<span class=\"fn-name\">mode</span><span class=\"fn-operator\">(</span><span class=\"fn-type\">SaveMode</span> <span class=\"fn-param\">$mode</span><span class=\"fn-operator\">)</span> <span class=\"fn-operator\">:</span> <span class=\"fn-return\">self</span>
574+
<span class=\"fn-name\">mode</span><span class=\"fn-operator\">(</span><span class=\"fn-type\">SaveMode|ExecutionMode</span> <span class=\"fn-param\">$mode</span><span class=\"fn-operator\">)</span> <span class=\"fn-operator\">:</span> <span class=\"fn-return\">self</span>
575575
</div>
576576
<div style="color: #8b949e; font-size: 13px;">
577-
SaveMode defines how Flow should behave when writing to a file/files that already exists.<br>For more details please see SaveMode enum.<br>@param SaveMode $mode<br>@lazy<br>@return $this
577+
This method is used to set the behavior of the DataFrame.<br>Available modes:<br>- SaveMode defines how Flow should behave when writing to a file/files that already exists.<br>- ExecutionMode - defines how functions should behave when they encounter unexpected data (e.g., type mismatches, missing values).<br>@lazy<br>@return $this
578578
</div>
579579
`
580580
return div

assets/codemirror/completions/dsl-2c709afa115debccb08a04cc27f7005c.js renamed to assets/codemirror/completions/dsl-e73be1cd795a9cffedcdcbcf4b144c6c.js

Lines changed: 109 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: 344
4+
* Total functions: 350
55
*
66
* This completer provides autocompletion for all Flow PHP DSL functions:
77
* - Extractors (flow-extractors)
@@ -86,6 +86,9 @@ const dslFunctions = [
8686
div.innerHTML = `
8787
<div style="font-family: 'Fira Code', 'JetBrains Mono', monospace; margin-bottom: 8px;">
8888
<span class=\"fn-name\">append</span><span class=\"fn-operator\">(</span><span class=\"fn-operator\">)</span> <span class=\"fn-operator\">:</span> <span class=\"fn-return\">SaveMode</span>
89+
</div>
90+
<div style="color: #8b949e; font-size: 13px;">
91+
Alias for save_mode_append().
8992
</div>
9093
`
9194
return div
@@ -1610,6 +1613,9 @@ const dslFunctions = [
16101613
div.innerHTML = `
16111614
<div style="font-family: 'Fira Code', 'JetBrains Mono', monospace; margin-bottom: 8px;">
16121615
<span class=\"fn-name\">exception_if_exists</span><span class=\"fn-operator\">(</span><span class=\"fn-operator\">)</span> <span class=\"fn-operator\">:</span> <span class=\"fn-return\">SaveMode</span>
1616+
</div>
1617+
<div style="color: #8b949e; font-size: 13px;">
1618+
Alias for save_mode_exception_if_exists().
16131619
</div>
16141620
`
16151621
return div
@@ -1631,6 +1637,42 @@ const dslFunctions = [
16311637
},
16321638
apply: snippet("\\Flow\\ETL\\DSL\\execution_context(" + "$" + "{" + "1:config" + "}" + ")"),
16331639
boost: 10
1640+
}, {
1641+
label: "execution_lenient",
1642+
type: "function",
1643+
detail: "flow\u002Ddsl\u002Ddata\u002Dframe",
1644+
info: () => {
1645+
const div = document.createElement("div")
1646+
div.innerHTML = `
1647+
<div style="font-family: 'Fira Code', 'JetBrains Mono', monospace; margin-bottom: 8px;">
1648+
<span class=\"fn-name\">execution_lenient</span><span class=\"fn-operator\">(</span><span class=\"fn-operator\">)</span> <span class=\"fn-operator\">:</span> <span class=\"fn-return\">ExecutionMode</span>
1649+
</div>
1650+
<div style="color: #8b949e; font-size: 13px;">
1651+
In this mode, functions returns nulls instead of throwing exceptions.
1652+
</div>
1653+
`
1654+
return div
1655+
},
1656+
apply: snippet("\\Flow\\ETL\\DSL\\execution_lenient()"),
1657+
boost: 10
1658+
}, {
1659+
label: "execution_strict",
1660+
type: "function",
1661+
detail: "flow\u002Ddsl\u002Ddata\u002Dframe",
1662+
info: () => {
1663+
const div = document.createElement("div")
1664+
div.innerHTML = `
1665+
<div style="font-family: 'Fira Code', 'JetBrains Mono', monospace; margin-bottom: 8px;">
1666+
<span class=\"fn-name\">execution_strict</span><span class=\"fn-operator\">(</span><span class=\"fn-operator\">)</span> <span class=\"fn-operator\">:</span> <span class=\"fn-return\">ExecutionMode</span>
1667+
</div>
1668+
<div style="color: #8b949e; font-size: 13px;">
1669+
In this mode, functions throws exceptions if the given entry is not found<br>or passed parameters are invalid.
1670+
</div>
1671+
`
1672+
return div
1673+
},
1674+
apply: snippet("\\Flow\\ETL\\DSL\\execution_strict()"),
1675+
boost: 10
16341676
}, {
16351677
label: "exists",
16361678
type: "function",
@@ -2468,6 +2510,9 @@ const dslFunctions = [
24682510
div.innerHTML = `
24692511
<div style="font-family: 'Fira Code', 'JetBrains Mono', monospace; margin-bottom: 8px;">
24702512
<span class=\"fn-name\">ignore</span><span class=\"fn-operator\">(</span><span class=\"fn-operator\">)</span> <span class=\"fn-operator\">:</span> <span class=\"fn-return\">SaveMode</span>
2513+
</div>
2514+
<div style="color: #8b949e; font-size: 13px;">
2515+
Alias for save_mode_ignore().
24712516
</div>
24722517
`
24732518
return div
@@ -3098,6 +3143,9 @@ const dslFunctions = [
30983143
div.innerHTML = `
30993144
<div style="font-family: 'Fira Code', 'JetBrains Mono', monospace; margin-bottom: 8px;">
31003145
<span class=\"fn-name\">overwrite</span><span class=\"fn-operator\">(</span><span class=\"fn-operator\">)</span> <span class=\"fn-operator\">:</span> <span class=\"fn-return\">SaveMode</span>
3146+
</div>
3147+
<div style="color: #8b949e; font-size: 13px;">
3148+
Alias for save_mode_overwrite().
31013149
</div>
31023150
`
31033151
return div
@@ -3647,6 +3695,66 @@ const dslFunctions = [
36473695
},
36483696
apply: snippet("\\Flow\\ETL\\DSL\\sanitize(" + "$" + "{" + "1:value" + "}" + ", " + "$" + "{" + "2:placeholder" + "}" + ", " + "$" + "{" + "3:skipCharacters" + "}" + ")"),
36493697
boost: 10
3698+
}, {
3699+
label: "save_mode_append",
3700+
type: "function",
3701+
detail: "flow\u002Ddsl\u002Ddata\u002Dframe",
3702+
info: () => {
3703+
const div = document.createElement("div")
3704+
div.innerHTML = `
3705+
<div style="font-family: 'Fira Code', 'JetBrains Mono', monospace; margin-bottom: 8px;">
3706+
<span class=\"fn-name\">save_mode_append</span><span class=\"fn-operator\">(</span><span class=\"fn-operator\">)</span> <span class=\"fn-operator\">:</span> <span class=\"fn-return\">SaveMode</span>
3707+
</div>
3708+
`
3709+
return div
3710+
},
3711+
apply: snippet("\\Flow\\ETL\\DSL\\save_mode_append()"),
3712+
boost: 10
3713+
}, {
3714+
label: "save_mode_exception_if_exists",
3715+
type: "function",
3716+
detail: "flow\u002Ddsl\u002Ddata\u002Dframe",
3717+
info: () => {
3718+
const div = document.createElement("div")
3719+
div.innerHTML = `
3720+
<div style="font-family: 'Fira Code', 'JetBrains Mono', monospace; margin-bottom: 8px;">
3721+
<span class=\"fn-name\">save_mode_exception_if_exists</span><span class=\"fn-operator\">(</span><span class=\"fn-operator\">)</span> <span class=\"fn-operator\">:</span> <span class=\"fn-return\">SaveMode</span>
3722+
</div>
3723+
`
3724+
return div
3725+
},
3726+
apply: snippet("\\Flow\\ETL\\DSL\\save_mode_exception_if_exists()"),
3727+
boost: 10
3728+
}, {
3729+
label: "save_mode_ignore",
3730+
type: "function",
3731+
detail: "flow\u002Ddsl\u002Ddata\u002Dframe",
3732+
info: () => {
3733+
const div = document.createElement("div")
3734+
div.innerHTML = `
3735+
<div style="font-family: 'Fira Code', 'JetBrains Mono', monospace; margin-bottom: 8px;">
3736+
<span class=\"fn-name\">save_mode_ignore</span><span class=\"fn-operator\">(</span><span class=\"fn-operator\">)</span> <span class=\"fn-operator\">:</span> <span class=\"fn-return\">SaveMode</span>
3737+
</div>
3738+
`
3739+
return div
3740+
},
3741+
apply: snippet("\\Flow\\ETL\\DSL\\save_mode_ignore()"),
3742+
boost: 10
3743+
}, {
3744+
label: "save_mode_overwrite",
3745+
type: "function",
3746+
detail: "flow\u002Ddsl\u002Ddata\u002Dframe",
3747+
info: () => {
3748+
const div = document.createElement("div")
3749+
div.innerHTML = `
3750+
<div style="font-family: 'Fira Code', 'JetBrains Mono', monospace; margin-bottom: 8px;">
3751+
<span class=\"fn-name\">save_mode_overwrite</span><span class=\"fn-operator\">(</span><span class=\"fn-operator\">)</span> <span class=\"fn-operator\">:</span> <span class=\"fn-return\">SaveMode</span>
3752+
</div>
3753+
`
3754+
return div
3755+
},
3756+
apply: snippet("\\Flow\\ETL\\DSL\\save_mode_overwrite()"),
3757+
boost: 10
36503758
}, {
36513759
label: "schema",
36523760
type: "function",

0 commit comments

Comments
 (0)