All Questions
6 questions
0
votes
0
answers
44
views
Selecting a dynamically supplied table name using Sea Orm in Rust
I'm still very new to Rust & Sea Orm, but that's what the current project I'm working in is.
I'm working on a database focused on users (that's updatable by more than just the Rust/SeaOrm app).
...
4
votes
2
answers
114
views
How to find out exact return type of the RANK() window function in MySQL and MariaDB?
I am accessing a MySQL and MariaDB database using Rust with SeaORM, and my query includes the RANK() window function.
In MySQL, I can fetch the rank column value using u32 (unsigned integer),
In ...
1
vote
2
answers
514
views
SeaORM Query Error: no column found for name: A_
This builds the correct query in terms of SQL (from what I can see in the tracer).
However I get error Query Error: no column found for name: A_barcode
MvB::find()
.find_with_related(MvA)
...
1
vote
1
answer
106
views
Query Error: error returned from database: relation \"adverts\" does not exist
so i have 2 entities in my database
use async_graphql::{self, SimpleObject};
use chrono::NaiveDateTime;
use sea_orm::entity::prelude::*;
#[derive(Clone, Debug, PartialEq, DeriveEntityModel, ...
3
votes
1
answer
2k
views
SeaORM column "owner_id" referenced in foreign key constraint does not exist
I have an error with SeaORM, Rust and Postgres, I'm new in the world of the databases so sorry if this is a newbie question. I wanted to refresh the migrations with sea-orm-cli, but i got this error ...
3
votes
1
answer
2k
views
Multiple `find_with_related()` in sea_orm
Let's say I have a parent::Entity with zero or many good_child::Entity, neutral_child::Entity, and evil_child::Entity. (Just an example. The actual child_* tables have nothing in common with one ...