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 SQL Export Format to lino pull Command #311

Open
youen opened this issue Aug 28, 2024 · 0 comments
Open

Add SQL Export Format to lino pull Command #311

youen opened this issue Aug 28, 2024 · 0 comments

Comments

@youen
Copy link
Member

youen commented Aug 28, 2024

As part of the effort to support multiple export formats in the lino pull command, this sub-task focuses on implementing SQL format support (#309).

Tasks:

  • Implement SQL generation logic that converts the pulled data into SQL INSERT statements.
  • Add a --format sql option to the lino pull command.
  • Ensure that the SQL export can handle all existing lino pull flags and options (e.g., --limit, --filter, --where).
  • Add unit and integration tests to verify SQL generation accuracy.
  • Update the documentation with examples of how to use the SQL export format.

Acceptance Criteria:

  • The lino pull command generates valid SQL scripts that can be executed to initialize a test database.
  • All relevant lino pull flags and options are compatible with the SQL export format.
  • Documentation is updated with SQL format usage examples.
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

No branches or pull requests

1 participant