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

Examples & Tutorials wanted #269

Open
tyt2y3 opened this issue Oct 23, 2021 · 8 comments
Open

Examples & Tutorials wanted #269

tyt2y3 opened this issue Oct 23, 2021 · 8 comments
Labels
good first issue Good for newcomers

Comments

@tyt2y3
Copy link
Member

tyt2y3 commented Oct 23, 2021

SeaORM aims to play well with other crates in the async ecosystem.

We now have an array of integration examples. But if you used SeaORM with a framework / library not already on our list, we'd appreciate you to submit an example project. Also, upgrading these examples to the latest dependencies is a regular maintenance work, and we'd also appreciate some help from time-to-time.

If you have made articles, tutorials, podcasts or videos reated to SeaORM and want to share it with the community, feel free to submit a PR and add it to the list.

@tyt2y3 tyt2y3 pinned this issue Oct 23, 2021
@tyt2y3 tyt2y3 changed the title Call for contributors! Integration examples Call for contributors! Integration examples wanted Oct 23, 2021
@tyt2y3 tyt2y3 changed the title Call for contributors! Integration examples wanted Integration examples wanted! Oct 23, 2021
@YoshieraHuang
Copy link
Contributor

I write an axum version of actix_example at PR #297 .

@billy1624
Copy link
Member

Hi @YoshieraHuang, thank you so much for the huge PR!!

@aaronleopold
Copy link
Contributor

Would you be interested in an axum+async-graphql example?

@billy1624
Copy link
Member

Hey @aaronleopold, definitely interested!

@aaronleopold
Copy link
Contributor

@billy1624 awesome! I added my personal template that I use for my projects over the weekend to a fork, feel free to take a look. I'll be able to make a PR after work today.

@billy1624
Copy link
Member

Thanks!! @aaronleopold

@billy1624 billy1624 added the good first issue Good for newcomers label Mar 8, 2022
@tyt2y3 tyt2y3 unpinned this issue Mar 8, 2022
@tyt2y3 tyt2y3 pinned this issue May 15, 2022
@billy1624 billy1624 moved this to Triage in SeaQL Dev Tracker Jul 12, 2022
@billy1624 billy1624 moved this from Triage to Open for Contributions in SeaQL Dev Tracker Jul 12, 2022
@billy1624 billy1624 changed the title Integration examples wanted! Integration examples / tutorials wanted! Sep 5, 2022
@billy1624 billy1624 changed the title Integration examples / tutorials wanted! Integration examples & tutorials wanted! Sep 5, 2022
@tyt2y3 tyt2y3 changed the title Integration examples & tutorials wanted! Examples & Tutorials wanted! Jan 1, 2023
@tyt2y3 tyt2y3 changed the title Examples & Tutorials wanted! Examples & Tutorials wanted Jan 1, 2023
@billy1624 billy1624 moved this from Open for Contributions to Triage in SeaQL Dev Tracker Jan 13, 2023
@joebnb
Copy link

joebnb commented Feb 1, 2024

hi im new of rust and sea orm,would can be detail data loader tutorials,the example code seems lost some context

eg:

let cakes: Vec<cake::Model> = Cake::find().all(db).await?;
let fruits: Vec<Vec<fruit::Model>> = cakes.load_many(Fruit, db).await?;
let fillings: Vec<Vec<filling::Model>> = cakes.load_many_to_many(Filling, CakeFilling, db).await?; 

where is Filling and CakeFilling defined or import is that a table for connect this to tables ?

data loader was more recommend by use join,if there as a well document it will help a lot

@martinbliss
Copy link

I would also love to hear more about this. I've tried {entity}::Model, {entity}::Entity, {entity}::Relation and no success with any of them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
Status: Triage
Development

No branches or pull requests

6 participants