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

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.
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