mirror of https://github.com/ledisdb/ledisdb.git
remove select cmd because of conn pool
This commit is contained in:
parent
23452f06c7
commit
5f404a5240
|
@ -238,14 +238,6 @@ class Ledis(object):
|
||||||
"Ping the Ledis server"
|
"Ping the Ledis server"
|
||||||
return self.execute_command('PING')
|
return self.execute_command('PING')
|
||||||
|
|
||||||
def select(self, db):
|
|
||||||
"""Select a Ledis db, ``db`` is integer type"""
|
|
||||||
try:
|
|
||||||
db = int(db)
|
|
||||||
except ValueError:
|
|
||||||
db = 0
|
|
||||||
return self.execute_command('SELECT', db)
|
|
||||||
|
|
||||||
def info(self, section=None):
|
def info(self, section=None):
|
||||||
"""
|
"""
|
||||||
Return
|
Return
|
||||||
|
|
Loading…
Reference in New Issue