Skip to content

feat: Allow usage of MagnetLink in sea_orm::Model#26

Open
angrynode wants to merge 10 commits into
mainfrom
feat-sea-orm
Open

feat: Allow usage of MagnetLink in sea_orm::Model#26
angrynode wants to merge 10 commits into
mainfrom
feat-sea-orm

Conversation

@angrynode
Copy link
Copy Markdown
Owner

Blocked by SeaQL/sea-orm#2811

@angrynode
Copy link
Copy Markdown
Owner Author

Actually removing the extra #[sea_orm(column_type = "String")] makes it compile successfully?!

Comment thread tests/sea_orm.rs Outdated
@angrynode
Copy link
Copy Markdown
Owner Author

@tyt2y3 Thanks for string_null. I can't find it in the docs but maybe that's because it's not been released yet?

It appears to work, i can insert active models with none values. However, query filtering by None column value still fails. Is that expected, or am i just doing it wrong?

@tyt2y3
Copy link
Copy Markdown

tyt2y3 commented Nov 21, 2025

the functions can be found here https://docs.rs/sea-orm-migration/latest/src/sea_orm_migration/schema.rs.html#121-123

to query nulls, you need to use the is_null method

@angrynode angrynode force-pushed the feat-sea-orm branch 4 times, most recently from 3d00764 to 1e65ee9 Compare May 18, 2026 10:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants