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 typeorm-liked API #8

Merged
merged 3 commits into from
Nov 6, 2019
Merged

Add typeorm-liked API #8

merged 3 commits into from
Nov 6, 2019

Conversation

kevinptt0323
Copy link
Owner

Inspired from typeorm, we designd API ptt.select(Foo) instead of ptt.getFoo to make query methods more intuitive.

  • Add two models Article and Board
  • Use typeorm-liked API in unit test

@kevinptt0323 kevinptt0323 force-pushed the feature/orm branch 4 times, most recently from 637bfb1 to b474b3a Compare November 3, 2019 17:25
@kevinptt0323 kevinptt0323 force-pushed the feature/orm branch 4 times, most recently from 9129d66 to 70fa591 Compare November 6, 2019 18:29
Inspired by typeorm, we designed API `ptt.select(Foo)` instead of `ptt.getFoo`
to make query methods more intuitive.

Add two models `Article` and `Board`.
Use typeorm-liked API in unit test.
@kevinptt0323 kevinptt0323 merged commit 989c2d5 into master Nov 6, 2019
@kevinptt0323 kevinptt0323 deleted the feature/orm branch January 4, 2021 12:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant