Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upColumn limits? #359
Comments
This comment has been minimized.
thejefflarson
commented
Jun 22, 2016
•
|
Nevermind, I should read the docs: diesel/diesel/src/macros/mod.rs Line 60 in db9ec59 Thanks for the fantastic library! |
thejefflarson
closed this
Jun 22, 2016
This comment has been minimized.
|
We may be able to add an |
This comment has been minimized.
thejefflarson
commented
Jun 22, 2016
|
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? |
This comment has been minimized.
|
@thejefflarson Well, that depends on how much time and effort you want to put into this :) Here are some options:
|
This comment has been minimized.
thejefflarson
commented
Jun 22, 2016
|
@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! |
This comment has been minimized.
|
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? |
This comment has been minimized.
|
For the record, I will accept a |
thejefflarson commentedJun 22, 2016
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
thirteencolumn that error disappears.