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 binary for generating dummy tsql files #22

Open
wants to merge 25 commits into
base: main
Choose a base branch
from
Open

Conversation

LetsMelon
Copy link
Owner

@LetsMelon LetsMelon commented Aug 11, 2023

Replaces ./llib/tests/generate_big.py with a new binary written in Rust named generate_tsql found under ./cli/bin/generate_tsql.rs.

Features that generate_tsql should implement:

  • write to stdout (done in 369caf6)
  • generate tables with foreign keys
  • generate tables with multiple primary key fields
  • integrate "dummy generating" logic into ./lib so that other parts can use them without using Command::new (done in 6d8c4a3)

@LetsMelon LetsMelon added the enhancement New feature or request label Aug 11, 2023
@LetsMelon LetsMelon self-assigned this Aug 11, 2023
@LetsMelon LetsMelon force-pushed the add_benches branch 2 times, most recently from 06175cc to 6d8c4a3 Compare August 14, 2023 17:05
@LetsMelon
Copy link
Owner Author

I rebased the the branch add_benches from main so that the new ci configuration is available in this PR.

@codecov-commenter
Copy link

codecov-commenter commented Aug 19, 2023

Codecov Report

Merging #22 (f2ef7bf) into main (c4150ea) will increase coverage by 9.8%.
The diff coverage is 54.4%.

Additional details and impacted files
Files Changed Coverage Δ
cli/bin/generate_tsql.rs 0.0% <0.0%> (ø)
cli/src/helper.rs 0.0% <0.0%> (ø)
cli/src/main.rs 0.0% <0.0%> (ø)
lib/src/lib.rs 0.0% <0.0%> (ø)
lib/src/types.rs 5.0% <15.9%> (+5.0%) ⬆️
lib/src/generate.rs 61.3% <61.3%> (ø)
lib/src/parser/types.rs 98.1% <99.4%> (+93.9%) ⬆️
lib/src/helper.rs 100.0% <100.0%> (ø)
lib/src/parser/mod.rs 42.1% <100.0%> (+42.1%) ⬆️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants