Skip to content
This repository has been archived by the owner on Oct 22, 2019. It is now read-only.

Support database selection #89

Merged
merged 1 commit into from
May 24, 2019
Merged

Support database selection #89

merged 1 commit into from
May 24, 2019

Conversation

rdohms
Copy link
Contributor

@rdohms rdohms commented Oct 14, 2018

In order to allow the use of different databases in Redis, the
connection now supports switching to a new database.

One important factor to understand here is that if you are using
pconnect and you do a select operation, you may be changing the same
connection the rest of your code is using. Due to this its recommended we merge #87
along with this one to avoid weird scenarios.

In order to allow the use of different databases in Redis, the
connection now supports switching to a new database.

One important factor to understand here is that if you are using
`pconnect` and you do a `select` operation, you may be changing the same
connection the rest of your code is using.
@haiwenzhu
Copy link

function flushRedis in Storage/Redis.php need use flushDb instead of flushAll when use database option, or all database data would be flushed.

@nstapelbroek
Copy link

Thanks @rdohms, because @renatomefi demanded I'll ask around if we can merge this 🌚

@bracki bracki merged commit 215c9ae into Jimdo:master May 24, 2019
@bracki bracki mentioned this pull request May 24, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants