Skip to content

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

Merged
angrynode merged 10 commits into
mainfrom
feat-sea-orm
May 28, 2026
Merged

feat: Allow usage of MagnetLink in sea_orm::Model#26
angrynode merged 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

tyt2y3 commented Nov 21, 2025

Copy link
Copy Markdown

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
@angrynode angrynode merged commit baedf87 into main May 28, 2026
1 check passed
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