Commit Graph

59 Commits

Author SHA1 Message Date
dependabot[bot]
fd4fac3adf Bump github.com/go-sql-driver/mysql from 1.6.0 to 1.7.0 in /mysql
Bumps [github.com/go-sql-driver/mysql](https://github.com/go-sql-driver/mysql) from 1.6.0 to 1.7.0.
- [Release notes](https://github.com/go-sql-driver/mysql/releases)
- [Changelog](https://github.com/go-sql-driver/mysql/blob/master/CHANGELOG.md)
- [Commits](https://github.com/go-sql-driver/mysql/compare/v1.6.0...v1.7.0)

---
updated-dependencies:
- dependency-name: github.com/go-sql-driver/mysql
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-06 07:07:51 +00:00
gaby
a3b1139001 Breakdown local storage tests into separate files. Fix go.sum files 2022-11-20 04:59:16 -08:00
gaby
5a40e781c1 Deprecate support for go 1.14 and go 1.15 2022-11-20 04:20:05 -08:00
dependabot[bot]
9f74d3e4a8 Bump github.com/gofiber/utils from 0.1.2 to 1.0.1 in /mysql
Bumps [github.com/gofiber/utils](https://github.com/gofiber/utils) from 0.1.2 to 1.0.1.
- [Release notes](https://github.com/gofiber/utils/releases)
- [Commits](https://github.com/gofiber/utils/compare/v0.1.2...v1.0.1)

---
updated-dependencies:
- dependency-name: github.com/gofiber/utils
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-11-01 07:15:55 +00:00
DGivney
1137fb9036 Improve MYSQL New method test cases 2022-10-10 20:33:09 +11:00
DGivney
a9dc413939 Close the connections after testing MYSQL Store 2022-10-10 18:15:49 +11:00
DGivney
825eb938c2 Add test case for MYSQL New method 2022-10-10 17:57:16 +11:00
DGivney
e5eb169055 Allow reuse of an existing db connection when creating a MySQL Store 2022-10-10 16:50:34 +11:00
Juan Calderon-Perez
3a8b8d4f71 Add Conn() support to all storage drivers. (#451)
* Add DB() support for Redis driver

* Added support for DB() to all drivers

* Fixed typo in README and Lint issue

* Fix lint issue with ristretto db

* Fix lint issue with bbolt db

* Rename DB() to Conn()

* Replace all instances of _DB with _Conn

* Update all the README files

* Return ArangoDB Client instead of DB
2022-08-15 07:58:13 +02:00
Kalissaac
c38c925975 Add Postgres and MySQL connection strings (#429)
* Add ConnectionURI to Postgres

* Add ConnectionURI to MySQL

* Update Postgres sample db name
2022-08-15 07:48:29 +02:00
hi019
6a0f72c350 🐛 Fix bug preventing non-utf8 characters being saved in some databases (#87) 2021-05-05 21:17:52 -04:00
dependabot[bot]
feaf977424 Bump github.com/go-sql-driver/mysql from 1.5.0 to 1.6.0 in /mysql (#78)
Bumps [github.com/go-sql-driver/mysql](https://github.com/go-sql-driver/mysql) from 1.5.0 to 1.6.0.
- [Release notes](https://github.com/go-sql-driver/mysql/releases)
- [Changelog](https://github.com/go-sql-driver/mysql/blob/master/CHANGELOG.md)
- [Commits](https://github.com/go-sql-driver/mysql/compare/v1.5.0...v1.6.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-06 10:06:46 +02:00
Roman
8a84698537 refactor: use TRUNCATE to reset the tables for postgres/ mysql (#74)
MySQL docs: https://dev.mysql.com/doc/refman/8.0/en/truncate-table.html
Postgres docs: https://www.postgresql.org/docs/current/sql-truncate.html
2021-03-31 14:11:33 +02:00
hi019
a66230ef17 Fix GC deleting values without expiry (#54)
* Test MYSQL Fix

* Test

* Add postgres

* Fix mysql

* Fix sqlite
2021-03-18 22:09:06 +01:00
Fenny
9a9ea7d242 📦 update modules 2020-11-23 09:33:29 +01:00
Fenny
ab94351a60 ✏ return nil for notfound 2020-11-23 09:30:50 +01:00
Fenny
fd56bd28da 🎭 stay backwards compatible 2020-11-18 09:00:59 +01:00
Fenny
ddef41c2ee ✏ update comments 2020-11-17 13:56:09 +01:00
Fenny
deb10fb2a7 🩹 fix duration check 2020-11-13 18:35:23 +01:00
Fenny
c57c524007 📦 add dynamodb 2020-11-12 20:14:21 +01:00
Fenny
c0fabf16eb 📦 go 1.14 + 2020-11-12 03:34:26 +01:00
Fenny
cdf009407b 🩹 update tests 2020-11-06 16:05:53 +01:00
kiyon
25ec0e291e 🚤 Improve sql storage 2020-11-06 09:56:34 +08:00
Fenny
e85859e8c4 🎨 update signatures 2020-11-06 01:49:30 +01:00
Fenny
f9a30234b9 🧹 introduce reset and close 2020-11-06 01:41:46 +01:00
Fenny
3799ccc4f5 🎨 update installation 2020-11-05 09:56:28 +01:00
Fenny
fdf31cf4c0 ✏ update signatures 2020-11-05 09:47:33 +01:00
Fenny
f965c69512 🧪 update tests 2020-11-05 09:37:33 +01:00
Fenny
8e13432b70 update go mods 2020-11-05 09:16:20 +01:00
Fenny
b5b2054376 Update mysql.go 2020-11-05 07:17:26 +01:00
Fenny
253ac9bb10 . 2020-11-05 07:07:30 +01:00
Fenny
6710398f03 update readme 2020-11-05 06:18:29 +01:00
Fenny
3721c99616 fix ErrNotExist 2020-11-05 06:10:39 +01:00
Fenny
86b9cfe4c1 remove close method 2020-11-05 06:08:05 +01:00
Fenny
5571999805 sql queries T.T 2020-11-05 06:01:59 +01:00
Fenny
2458ab7395 help 2020-11-05 05:58:52 +01:00
Fenny
79f1f1609e update tests 2020-11-05 05:57:14 +01:00
Fenny
53f5b272a1 zzz 2020-11-05 05:44:12 +01:00
Fenny
8440b5e3c0 🎑 update tests 2020-11-05 05:36:27 +01:00
Fenny
f047848660 🎁 fix tests 2020-11-05 05:26:05 +01:00
Fenny
b4a848ca29 🎄 xmas present 2020-11-05 04:17:05 +01:00
Fenny
a6058cffb3 ✏ refactor storage 2020-11-04 20:49:53 +01:00
kiyon
34441f5b7c 👷 Separate database test into different tags and enable default test CI. 2020-11-03 08:59:29 +08:00
hi019
bd31e32cb8 Standardize test case names 2020-11-02 15:52:14 -05:00
Tom
1e69a9c81d 📦 MySQL: Remove weird query that was breaking things 2020-11-02 20:15:09 +00:00
Fenny
29466ce4d7 📦 add memcache 2020-11-02 13:55:13 +01:00
Tom
4d39ae8073 📦 MySQL: go fmt 2020-11-01 15:51:04 +00:00
Tom
9ff3fd64c9 📦 MySQL: Update README.md 2020-11-01 15:46:36 +00:00
Tom
d27bcb730b 📦 MySQL: Add tests and benchmarks 2020-11-01 15:46:19 +00:00
Tom
67634fcd86 📦 MySQL: Add driver 2020-11-01 15:25:06 +00:00