Commit Graph

35 Commits

Author SHA1 Message Date
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
ea23fabafa Rename Connection to ConnectionURL 2020-12-01 16:12:51 -08:00
Kalissaac
e5d9b064ca Remove Atlas config option 2020-12-01 15:01:06 -08:00
Kalissaac
1d00ff6dd8 Add ability to supply Mongo connection uri 2020-12-01 14:18:33 -08:00
Kalissaac
0c0949c777 Simplify if statements 2020-11-23 18:38:48 -08:00
Kalissaac
f3768e816f Ignore port when using Atlas 2020-11-23 17:38:43 -08:00
Kalissaac
d304cb36a9 Add support for MongoDB Atlas 2020-11-23 17:29:38 -08: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
c57c524007 📦 add dynamodb 2020-11-12 20:14:21 +01:00
Fenny
cdf009407b 🩹 update tests 2020-11-06 16:05:53 +01:00
Fenny
63e8f5bd5c 🩹 fix reset 2020-11-06 01:47:17 +01:00
Fenny
ae83364fc9 Merge remote-tracking branch 'upstream/main' into main 2020-11-06 01:47:07 +01:00
Fenny
f9a30234b9 🧹 introduce reset and close 2020-11-06 01:41:46 +01:00
Wei Lun
f242d1f466 improve mongo storage 2020-11-05 21:52:34 +08:00
Fenny
86b9cfe4c1 remove close method 2020-11-05 06:08:05 +01:00
Fenny
8440b5e3c0 🎑 update tests 2020-11-05 05:36:27 +01:00
Fenny
504e8c31f8 🥽 update test 2020-11-05 05:34:56 +01:00
Fenny
6fa1b0ebdb Update mongodb.go 2020-11-05 05:31:57 +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
Fenny
3e4f83c844 Update mongodb.go 2020-11-03 15:21:35 +01:00
Wei Lun
d393ee607a ♻️ to sync pool 2020-11-03 21:10:15 +08:00
Wei Lun
12648efd73 📝 update Set docs 2020-11-03 18:23:07 +08:00
Wei Lun
67e2cf0978 🐛 add Get exp checking 2020-11-03 18:13:48 +08:00
Wei Lun
d6a5f1431e ♻️ improve test 2020-11-01 20:53:48 +08:00
Fenny
127aa2a67d 🎑 update sqlite3 2020-11-01 10:52:23 +01:00
Wei Lun
26639f7b31 ♻️ refactor to context.Background() and add Close method 2020-10-31 22:44:17 +08:00
Fenny
ef04d509b9 🩹 fix tests 2020-10-31 11:35:31 +01:00
Fenny
cc186961ee 👀 expose DB 2020-10-31 11:27:51 +01:00
Wei Lun
a7fd5bdbe5 update mongo storage 2020-10-31 17:39:12 +08:00
Fenny
7f29132a5f 📦 update mongodb 2020-10-31 09:51:32 +01:00
Wei Lun
ac6c5ab946 🌟 add MongoDB storage 2020-10-31 13:56:25 +08:00
Fenny
ad49a4d6a6 👷‍♂️ add skeletons 2020-10-31 06:20:25 +01:00