Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add array_to_row helper function #1139

Closed
norberttech opened this issue Jul 24, 2024 · 1 comment
Closed

Add array_to_row helper function #1139

norberttech opened this issue Jul 24, 2024 · 1 comment
Assignees
Labels

Comments

@norberttech
Copy link
Member

Currently we only have:

function array_to_rows(array $data, EntryFactory $entryFactory = new NativeEntryFactory(), array|Partitions $partitions = [], ?Schema $schema = null) : Rows

However there are a lot of scenarios where we might want to simply create one row from associative array (not list).

function array_to_rows(array $data, EntryFactory $entryFactory = new NativeEntryFactory(), ?Schema $schema = null) : Rows

Implementation of this function can be literally extracted from array_to_rows

@norberttech
Copy link
Member Author

Resolved by: #1149

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

No branches or pull requests

2 participants