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 rows writers #1730

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

illia-li
Copy link

@illia-li illia-li commented Oct 14, 2023

As part of #1720
Main changes:

  1. Added Row and Rows interfaces for rows writers.
    Now users can write rows data directly from raw to any abstractions.
    Interfaces design like io.Writer interface, with corrections for better processing with db rows.
  2. Added implementations for Row and Rows writers.
    One - for write rows to go slices through Slice interface. Second - for write rows to go maps through Map interface.
    And two more for write rows to go slice`s by generics.
  3. Added one implementation for Row writer.
    For write solidarity row to solidarity abstraction.
  4. Added Slice and Map interfaces for connect Rows writers with different types of go slices and go maps.
  5. Added Iter methods for use Row and Rows writers.

@illia-li illia-li changed the title add(writers) added row and rows writers Add rows writers Oct 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant