コード例 #1
0
ファイル: manager.py プロジェクト: rocverde/DuratorEmu
 def does_char_with_guid_exist(guid):
     """ Return whether or not a character with that GUID exists in DB. """
     return CharacterData.select().where(CharacterData.guid == guid).exists()
コード例 #2
0
ファイル: manager.py プロジェクト: Shgck/DuratorEmu
 def does_char_with_guid_exist(guid):
     """ Return whether or not a character with that GUID exists in DB. """
     return CharacterData.select().where(CharacterData.guid == guid).exists()
コード例 #3
0
ファイル: manager.py プロジェクト: rocverde/DuratorEmu
 def does_char_with_name_exist(name):
     """ Return whether or not a character with that name exists in DB. """
     return CharacterData.select().where(CharacterData.name == name).exists()
コード例 #4
0
ファイル: manager.py プロジェクト: Shgck/DuratorEmu
 def does_char_with_name_exist(name):
     """ Return whether or not a character with that name exists in DB. """
     return CharacterData.select().where(CharacterData.name == name).exists()