Commit Graph

5 Commits

Author SHA1 Message Date
Saeid
cf6cd11e94 fix: ErrForeignKeyViolated error constant (#155)
* fix: ErrForeignKeyViolated error constant

* refactor: added error codes reference

---------

Co-authored-by: Saeid Saeidee <s.saeidee@sensysgatso.com>
2023-06-09 10:19:25 +08:00
Fabio Bonelli
2a60d4fe20 fix: translate SQLITE_CONSTRAINT_PRIMARYKEY to ErrDuplicatedKey (#152)
Translate the SQLITE_CONSTRAINT_PRIMARYKEY error code to
ErrDuplicatedKey as well for consistency.
2023-06-09 10:18:50 +08:00
Saeid
cb7f946bd6 feat: foreign key violatation error (#150)
Co-authored-by: Saeid Saeidee <s.saeidee@sensysgatso.com>
Co-authored-by: Jinzhu <wosmvp@gmail.com>
2023-06-07 15:06:51 +08:00
Saeid Kanishka
3aa841daf2 fix: dependency issue with go-sqlite3 package (#143)
* fix: dependency issue with go-sqlite3 package

* doc: documentation has been added

---------

Co-authored-by: Saeid Saeidee <s.saeidee@sensysgatso.com>
2023-04-21 22:24:44 +08:00
Saeid Kanishka
f78eb0fe4b feat: error translator support added (#136)
* feat: error translator support added

* refactor: removed redundent error deserialization

---------

Co-authored-by: Saeid Saeidee <s.saeidee@sensysgatso.com>
2023-03-09 10:07:02 +08:00