Skip to main content

DatabaseUtil

General database utilities used for fetching and creating raw data.

Methods​

retrieveSerializedData​

retrieveSerializedData(name);
PARAMETERTYPEOPTIONALDEFAULTDESCRIPTION
namestring❌undefinedSchema name.

Returns​

RawData[]


retrieveObjectiveNames​

retrieveObjectiveNames();

Returns​

string[]


tableExists​

tableExists(name);
PARAMETERTYPEOPTIONALDEFAULTDESCRIPTION
namestring❌undefinedTable name.

Returns​

boolean


toRaw​

toRaw(name, id, data);
PARAMETERTYPEOPTIONALDEFAULTDESCRIPTION
namestring❌undefinedRaw name.
idstring❌undefinedRaw id.
datastring❌undefinedRaw data.

Returns​

string


fromRaw​

fromRaw(raw);
PARAMETERTYPEOPTIONALDEFAULTDESCRIPTION
namestring❌undefinedRaw item.

Returns​

RawData


validName​

tableExists(name);
PARAMETERTYPEOPTIONALDEFAULTDESCRIPTION
namestring❌undefinedname.

Returns​

boolean