Skip to content
Snippets Groups Projects
  1. Aug 31, 2020
  2. Aug 30, 2020
  3. Aug 29, 2020
  4. Aug 28, 2020
  5. Aug 27, 2020
  6. Aug 26, 2020
  7. Aug 24, 2020
    • Daniel García's avatar
      4c324e11
    • Daniel García's avatar
      Add support for multiple simultaneous database features by using macros. · 0365b7c6
      Daniel García authored
      Diesel requires the following changes:
      - Separate connection and pool types per connection, the generate_connections! macro generates an enum with a variant per db type
      - Separate migrations and schemas, these were always imported as one type depending on db feature, now they are all imported under different module names
      - Separate model objects per connection, the db_object! macro generates one object for each connection with the diesel macros, a generic object, and methods to convert between the connection-specific and the generic ones
      - Separate connection queries, the db_run! macro allows writing only one that gets compiled for all databases or multiple ones
      0365b7c6
  8. Aug 23, 2020
  9. Aug 22, 2020
  10. Aug 20, 2020
  11. Aug 19, 2020
  12. Aug 15, 2020
  13. Aug 13, 2020
  14. Aug 12, 2020
  15. Aug 11, 2020
  16. Aug 08, 2020
  17. Aug 07, 2020
Loading