Examples not working with SQLx 0.6.0 #2241
-
I get the error
when I try to follow the example code for using Rocket with SQLx 0.6.0 and rocket_db_pools
|
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
I also have same problem. Did you fix it? |
Beta Was this translation helpful? Give feedback.
-
Do you have |
Beta Was this translation helpful? Give feedback.
-
I already solved it using dereference. |
Beta Was this translation helpful? Give feedback.
-
Just so it's absolutely clear what worked: |
Beta Was this translation helpful? Give feedback.
Just so it's absolutely clear what worked:
.fetch_all(&mut *db)
became.fetch_all(&mut **db)
.