Skip to content

Commit 190106a

Browse files
author
flow-php
committed
1 parent 9dee5ea commit 190106a

File tree

10 files changed

+27
-18
lines changed

10 files changed

+27
-18
lines changed

changelog/index.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,9 +215,10 @@ <h2 class="my-2 text-2xl font-semibold tracking-wide">Loads</h2>
215215
</div>
216216

217217
<section id="changelog" class="py-10 px-2 sm:px-4 mx-auto max-w-screen-xl">
218-
<h2><a id="flow-php-unreleased---2025-02-21" href="#content-unreleased---2025-02-21" class="mr-2" aria-hidden="true" title="Permalink">#</a>[Unreleased] - 2025-02-21</h2>
218+
<h2><a id="flow-php-unreleased---2025-02-23" href="#content-unreleased---2025-02-23" class="mr-2" aria-hidden="true" title="Permalink">#</a>[Unreleased] - 2025-02-23</h2>
219219
<h3><a id="flow-php-added" href="#content-added" class="mr-2" aria-hidden="true" title="Permalink">#</a>Added</h3>
220220
<ul>
221+
<li><a rel="noopener noreferrer" target="_blank" href="https://github.com/flow-php/flow/pull/1468">#1468</a> - <strong>Nix - for local development environment</strong> - <a rel="noopener noreferrer" target="_blank" href="https://github.com/norberttech">@norberttech</a></li>
221222
<li><a rel="noopener noreferrer" target="_blank" href="https://github.com/flow-php/flow/pull/1492">#1492</a> - <strong>Respect limit/offset from query builder in dbal query loader</strong> - <a rel="noopener noreferrer" target="_blank" href="https://github.com/norberttech">@norberttech</a></li>
222223
<li><a rel="noopener noreferrer" target="_blank" href="https://github.com/flow-php/flow/pull/1491">#1491</a> - <strong>Added missing tests to string functions</strong> - <a rel="noopener noreferrer" target="_blank" href="https://github.com/f-lapinski">@f-lapinski</a></li>
223224
<li><a rel="noopener noreferrer" target="_blank" href="https://github.com/flow-php/flow/pull/1488">#1488</a> - <strong>DataStream builder</strong> - <a rel="noopener noreferrer" target="_blank" href="https://github.com/norberttech">@norberttech</a></li>

data_writing/database_upsert/index.html

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,9 @@ <h1><a id="flow-php-upsert-insert-or-update-data-into-a-database" href="#content
372372

373373
declare(strict_types=1);
374374

375-
use function Flow\ETL\Adapter\Doctrine\{from_dbal_query, postgresql_insert_options, to_dbal_table_insert};
375+
use function Flow\ETL\Adapter\Doctrine\{from_dbal_query,
376+
sqlite_insert_options,
377+
to_dbal_table_insert};
376378
use function Flow\ETL\DSL\{data_frame, from_array, to_stream};
377379
use Doctrine\DBAL\DriverManager;
378380
use Doctrine\DBAL\Schema\{Column, Table, UniqueConstraint};
@@ -431,7 +433,7 @@ <h1><a id="flow-php-upsert-insert-or-update-data-into-a-database" href="#content
431433
&#039;driver&#039; =&gt; &#039;pdo_sqlite&#039;,
432434
]),
433435
&#039;orders&#039;,
434-
postgresql_insert_options(conflict_columns: [&#039;order_id&#039;])
436+
sqlite_insert_options(conflict_columns: [&#039;order_id&#039;])
435437
)
436438
)
437439
// second insert that normally would fail due to Integrity constraint violation
@@ -442,7 +444,7 @@ <h1><a id="flow-php-upsert-insert-or-update-data-into-a-database" href="#content
442444
&#039;driver&#039; =&gt; &#039;pdo_sqlite&#039;,
443445
]),
444446
&#039;orders&#039;,
445-
postgresql_insert_options(conflict_columns: [&#039;order_id&#039;])
447+
sqlite_insert_options(conflict_columns: [&#039;order_id&#039;])
446448
)
447449
)
448450
-&gt;run();

documentation/dsl/doctrine/postgresql-insert-options/index.html

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,9 @@ <h4 class="text-bold mt-5 mb-5">Example: <a href="/data_writing/database_upsert/
345345

346346
declare(strict_types=1);
347347

348-
use function Flow\ETL\Adapter\Doctrine\{from_dbal_query, postgresql_insert_options, to_dbal_table_insert};
348+
use function Flow\ETL\Adapter\Doctrine\{from_dbal_query,
349+
sqlite_insert_options,
350+
to_dbal_table_insert};
349351
use function Flow\ETL\DSL\{data_frame, from_array, to_stream};
350352
use Doctrine\DBAL\DriverManager;
351353
use Doctrine\DBAL\Schema\{Column, Table, UniqueConstraint};
@@ -404,7 +406,7 @@ <h4 class="text-bold mt-5 mb-5">Example: <a href="/data_writing/database_upsert/
404406
&#039;driver&#039; =&gt; &#039;pdo_sqlite&#039;,
405407
]),
406408
&#039;orders&#039;,
407-
postgresql_insert_options(conflict_columns: [&#039;order_id&#039;])
409+
sqlite_insert_options(conflict_columns: [&#039;order_id&#039;])
408410
)
409411
)
410412
// second insert that normally would fail due to Integrity constraint violation
@@ -415,7 +417,7 @@ <h4 class="text-bold mt-5 mb-5">Example: <a href="/data_writing/database_upsert/
415417
&#039;driver&#039; =&gt; &#039;pdo_sqlite&#039;,
416418
]),
417419
&#039;orders&#039;,
418-
postgresql_insert_options(conflict_columns: [&#039;order_id&#039;])
420+
sqlite_insert_options(conflict_columns: [&#039;order_id&#039;])
419421
)
420422
)
421423
-&gt;run();

documentation/dsl/doctrine/to-dbal-table-insert/index.html

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,9 @@ <h4 class="text-bold mt-5 mb-5">Example: <a href="/data_writing/database_upsert/
360360

361361
declare(strict_types=1);
362362

363-
use function Flow\ETL\Adapter\Doctrine\{from_dbal_query, postgresql_insert_options, to_dbal_table_insert};
363+
use function Flow\ETL\Adapter\Doctrine\{from_dbal_query,
364+
sqlite_insert_options,
365+
to_dbal_table_insert};
364366
use function Flow\ETL\DSL\{data_frame, from_array, to_stream};
365367
use Doctrine\DBAL\DriverManager;
366368
use Doctrine\DBAL\Schema\{Column, Table, UniqueConstraint};
@@ -419,7 +421,7 @@ <h4 class="text-bold mt-5 mb-5">Example: <a href="/data_writing/database_upsert/
419421
&#039;driver&#039; =&gt; &#039;pdo_sqlite&#039;,
420422
]),
421423
&#039;orders&#039;,
422-
postgresql_insert_options(conflict_columns: [&#039;order_id&#039;])
424+
sqlite_insert_options(conflict_columns: [&#039;order_id&#039;])
423425
)
424426
)
425427
// second insert that normally would fail due to Integrity constraint violation
@@ -430,7 +432,7 @@ <h4 class="text-bold mt-5 mb-5">Example: <a href="/data_writing/database_upsert/
430432
&#039;driver&#039; =&gt; &#039;pdo_sqlite&#039;,
431433
]),
432434
&#039;orders&#039;,
433-
postgresql_insert_options(conflict_columns: [&#039;order_id&#039;])
435+
sqlite_insert_options(conflict_columns: [&#039;order_id&#039;])
434436
)
435437
)
436438
-&gt;run();

documentation/example/data_writing/database_upsert/index.html

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,9 @@ <h1><a id="flow-php-upsert-insert-or-update-data-into-a-database" href="#content
436436

437437
declare(strict_types=1);
438438

439-
use function Flow\ETL\Adapter\Doctrine\{from_dbal_query, postgresql_insert_options, to_dbal_table_insert};
439+
use function Flow\ETL\Adapter\Doctrine\{from_dbal_query,
440+
sqlite_insert_options,
441+
to_dbal_table_insert};
440442
use function Flow\ETL\DSL\{data_frame, from_array, to_stream};
441443
use Doctrine\DBAL\DriverManager;
442444
use Doctrine\DBAL\Schema\{Column, Table, UniqueConstraint};
@@ -495,7 +497,7 @@ <h1><a id="flow-php-upsert-insert-or-update-data-into-a-database" href="#content
495497
&#039;driver&#039; =&gt; &#039;pdo_sqlite&#039;,
496498
]),
497499
&#039;orders&#039;,
498-
postgresql_insert_options(conflict_columns: [&#039;order_id&#039;])
500+
sqlite_insert_options(conflict_columns: [&#039;order_id&#039;])
499501
)
500502
)
501503
// second insert that normally would fail due to Integrity constraint violation
@@ -506,7 +508,7 @@ <h1><a id="flow-php-upsert-insert-or-update-data-into-a-database" href="#content
506508
&#039;driver&#039; =&gt; &#039;pdo_sqlite&#039;,
507509
]),
508510
&#039;orders&#039;,
509-
postgresql_insert_options(conflict_columns: [&#039;order_id&#039;])
511+
sqlite_insert_options(conflict_columns: [&#039;order_id&#039;])
510512
)
511513
)
512514
-&gt;run();

sitemap.blog.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<?xml version="1.0" encoding="UTF-8"?><urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" ><url><loc>https://flow-php.com/blog/2025-01-25/data-processing-in-php</loc><lastmod>2025-02-23T12:34:25+00:00</lastmod><changefreq>weekly</changefreq><priority>1.0</priority></url><url><loc>https://flow-php.com/blog/2024-08-08/scalar-functions</loc><lastmod>2025-02-23T12:34:25+00:00</lastmod><changefreq>weekly</changefreq><priority>1.0</priority></url><url><loc>https://flow-php.com/blog/2024-04-04/building-custom-extractor-google-analytics</loc><lastmod>2025-02-23T12:34:25+00:00</lastmod><changefreq>weekly</changefreq><priority>1.0</priority></url></urlset>
1+
<?xml version="1.0" encoding="UTF-8"?><urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" ><url><loc>https://flow-php.com/blog/2025-01-25/data-processing-in-php</loc><lastmod>2025-02-23T12:56:16+00:00</lastmod><changefreq>weekly</changefreq><priority>1.0</priority></url><url><loc>https://flow-php.com/blog/2024-08-08/scalar-functions</loc><lastmod>2025-02-23T12:56:16+00:00</lastmod><changefreq>weekly</changefreq><priority>1.0</priority></url><url><loc>https://flow-php.com/blog/2024-04-04/building-custom-extractor-google-analytics</loc><lastmod>2025-02-23T12:56:16+00:00</lastmod><changefreq>weekly</changefreq><priority>1.0</priority></url></urlset>

sitemap.default.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<?xml version="1.0" encoding="UTF-8"?><urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" ><url><loc>https://flow-php.com/blog</loc><lastmod>2025-02-23T12:34:25+00:00</lastmod><changefreq>daily</changefreq><priority>1.0</priority></url><url><loc>https://flow-php.com/documentation</loc><lastmod>2025-02-23T12:34:25+00:00</lastmod><changefreq>daily</changefreq><priority>1.0</priority></url><url><loc>https://flow-php.com/changelog</loc><lastmod>2025-02-23T12:34:25+00:00</lastmod><changefreq>daily</changefreq><priority>1.0</priority></url><url><loc>https://flow-php.com/</loc><lastmod>2025-02-23T12:34:25+00:00</lastmod><changefreq>daily</changefreq><priority>1.0</priority></url></urlset>
1+
<?xml version="1.0" encoding="UTF-8"?><urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" ><url><loc>https://flow-php.com/blog</loc><lastmod>2025-02-23T12:56:16+00:00</lastmod><changefreq>daily</changefreq><priority>1.0</priority></url><url><loc>https://flow-php.com/documentation</loc><lastmod>2025-02-23T12:56:16+00:00</lastmod><changefreq>daily</changefreq><priority>1.0</priority></url><url><loc>https://flow-php.com/changelog</loc><lastmod>2025-02-23T12:56:16+00:00</lastmod><changefreq>daily</changefreq><priority>1.0</priority></url><url><loc>https://flow-php.com/</loc><lastmod>2025-02-23T12:56:16+00:00</lastmod><changefreq>daily</changefreq><priority>1.0</priority></url></urlset>

sitemap.documentation.xml

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

sitemap.examples.xml

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

sitemap.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<?xml version="1.0" encoding="UTF-8"?><sitemapindex xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/siteindex.xsd" xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"><sitemap><loc>https://flow-php.com/sitemap.default.xml</loc><lastmod>2025-02-23T12:34:25+00:00</lastmod></sitemap><sitemap><loc>https://flow-php.com/sitemap.examples.xml</loc><lastmod>2025-02-23T12:34:25+00:00</lastmod></sitemap><sitemap><loc>https://flow-php.com/sitemap.blog.xml</loc><lastmod>2025-02-23T12:34:25+00:00</lastmod></sitemap><sitemap><loc>https://flow-php.com/sitemap.documentation.xml</loc><lastmod>2025-02-23T12:34:25+00:00</lastmod></sitemap></sitemapindex>
1+
<?xml version="1.0" encoding="UTF-8"?><sitemapindex xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/siteindex.xsd" xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"><sitemap><loc>https://flow-php.com/sitemap.default.xml</loc><lastmod>2025-02-23T12:56:16+00:00</lastmod></sitemap><sitemap><loc>https://flow-php.com/sitemap.examples.xml</loc><lastmod>2025-02-23T12:56:16+00:00</lastmod></sitemap><sitemap><loc>https://flow-php.com/sitemap.blog.xml</loc><lastmod>2025-02-23T12:56:16+00:00</lastmod></sitemap><sitemap><loc>https://flow-php.com/sitemap.documentation.xml</loc><lastmod>2025-02-23T12:56:16+00:00</lastmod></sitemap></sitemapindex>

0 commit comments

Comments
 (0)