-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Column limits? #359
Comments
Nevermind, I should read the docs: diesel/diesel/src/macros/mod.rs Line 60 in db9ec59
Thanks for the fantastic library! |
We may be able to add an |
One question, suppose I have a table with hundreds of fields (I know, I know -- I'm a journalist and we get crazy data) is there anything I can do? |
@thejefflarson Well, that depends on how much time and effort you want to put into this :) Here are some options:
|
@killercup Ha ok. 1 is sometimes not possible (I'm side-eying the census here, though I almost always don't need the whole thing). I might take you up on 2 -- though even for me I can only think of a handful of datasets that may need more than 52 fields. I think I can do it if I need it, thanks for the pointer! And thanks for taking the time! |
Option 4: Fix the linear growth in compile time that is linked to number of trait implementations in Rust itself and then I can implement this to be as large as people ask and turned on by default. (Easy, right? ) |
For the record, I will accept a |
Are there column limits for tables used with diesel? For example if I use the code in diesel demo and add thirteen more fields:
I get a trait bound error after running
diesel migration redo
:If I remove the
thirteen
column that error disappears.The text was updated successfully, but these errors were encountered: