Robot Framework Integrated Development Environment (RIDE)
robotide.spec.librarydatabase Namespace Reference

Classes

class  LibraryDatabase
 

Functions

def _create_database ()
 
def _validate_database ()
 
def initialize_database ()
 

Variables

string CREATION_SCRIPT
 
 DATABASE_FILE
 

Function Documentation

◆ _create_database()

def robotide.spec.librarydatabase._create_database ( )
private

Definition at line 42 of file librarydatabase.py.

◆ _validate_database()

def robotide.spec.librarydatabase._validate_database ( )
private

Definition at line 51 of file librarydatabase.py.

◆ initialize_database()

def robotide.spec.librarydatabase.initialize_database ( )

Definition at line 62 of file librarydatabase.py.

Variable Documentation

◆ CREATION_SCRIPT

string robotide.spec.librarydatabase.CREATION_SCRIPT
Initial value:
1 = """\
2 CREATE TABLE libraries (id INTEGER PRIMARY KEY,
3  name TEXT,
4  doc_format TEXT,
5  arguments TEXT,
6  last_updated REAL);
7 CREATE TABLE keywords (name TEXT,
8  doc TEXT,
9  arguments TEXT,
10  library_name TEXT,
11  library INTEGER,
12  FOREIGN KEY(library) REFERENCES libraries(id));
13 """

Definition at line 24 of file librarydatabase.py.

◆ DATABASE_FILE

robotide.spec.librarydatabase.DATABASE_FILE
Initial value:
1 = os.path.join(system_decode(SETTINGS_DIRECTORY),
2  'librarykeywords.db')
def system_decode(string)
Decodes bytes from system (e.g.
Definition: encoding.py:81

Definition at line 38 of file librarydatabase.py.