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()
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()
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()
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()