示例#1
0
 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
 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
 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
 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()