AscendingCreations / AxumSession

Axum Session Management Libraries that use Sqlx
MIT License
142 stars 29 forks source link

fix mysql syntax #30

Closed tadic-luka closed 1 year ago

tadic-luka commented 1 year ago

2 changes:

Based on SQLx documentation and examples, ? is used instead of ${number} for injecting parameters.

MySql does not support ON CONFLICT DO UPDATE, it supports ON DUPLIACATE KEY UPDATE.