Module loglan_db.model_db.base_key
This module contains a basic Key Model
Classes
- class BaseKey (**kwargs)
- 
Base Key's DB Model Describes a table structure for storing information about key words of the word's definitions. Some key words could belong to many definitions and some definitions could have many key words. That's why the relationship between Key and Definition should be many-to-many. See t_connect_keys.There is additional word_languageUniqueConstraint here.Show Examples{'language': 'en', 'word': 'aura', 'id': 1234} {'language': 'en', 'word': 'emotionality', 'id': 4321}A simple constructor that allows initialization from kwargs. Sets attributes on the constructed instance using the names and values in kwargs.Only keys that are present as attributes of the instance's class are allowed. These could be, for example, any mapped columns or relationships. AncestorsSubclassesInstance variables- var definitions
- 
Relationship query for getting a list of definitions related to this key query : Optional[List[BaseDefinition]] 
- var id
- 
Key's internal ID number 
 int : primary_key=True
- var language
- 
Key's language 
 str : max_length=16, nullable=False, unique=False
- var word
- 
Key's vernacular word 
 str : max_length=64, nullable=False, unique=False
 It is non-unique, as words can be the same in spelling in different languages
 Inherited members