111,098
社区成员




public static bool KeyExists(string key, int db = -1)
{
try
{
using (var client = ConnectionMultiplexer.Connect(_conn))
{
return Manager.GetDatabase(db).KeyExists(key);
}
}
catch (Exception)
{
return false;
}
}