Skip to content

Commit 566c065

Browse files
committed
fix: set $withEmbedded default value to true
1 parent 6abb363 commit 566c065

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/SQLLoader.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ public function into(
7070
array $formatOptions = [],
7171
?string $when = null,
7272
bool $csv = false,
73-
bool $withEmbedded = false,
73+
bool $withEmbedded = true,
7474
): static {
7575
if (! $columns && $this->defaultColumns) {
7676
$columns = $this->createColumnsFromHeaders($table, $this->defaultColumns);

src/TableDefinition.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ public function __construct(
1717
public array $formatOptions = [],
1818
public ?string $when = null,
1919
public bool $csv = false,
20-
public bool $withEmbedded = false,
20+
public bool $withEmbedded = true,
2121
) {}
2222

2323
public function __toString(): string

0 commit comments

Comments
 (0)