Chris Tsang

Results 417 comments of Chris Tsang

Thank you everyone ```sql REFERENCES apps # wont work REFERENCES apps(app_name) # works ``` So I can confirm that the culprit is the shorthand syntax of SQLite https://www.sqlite.org/foreignkeys.html Section 3...

Hi @AngelOnFira welcome back!

Actually, it's possible to have an Entity that has a state, so your Entity is no longer a unit struct, but a `struct Entity(String)`.

Although I am not sure are there other blockers to this approach. But yeah at least it was designed that way, the `table_name` takes a `self`

I think sea-query now supports it, so it should be doable to add macro support in sea-orm

Actually I don't quite understand the difference between embeddable and nested. For "Relationship", I think it's somewhat close to what `find_with_related` does now? I have a sense that the problem...

Actually, I think we can leave it as is. It might be a good idea for the linter, though

I agree that we should support `Option` but what's the usecase for `Option` ?