Documentation ¶
Index ¶
- Variables
- func CreateTestDB() string
- func DBExists(filepath *string) bool
- func GetTable(t Tbl) string
- type BackendDB
- type MySQLDB
- func (dbobj MySQLDB) BackupDB(w http.ResponseWriter)
- func (dbobj MySQLDB) CleanupRecord(t Tbl, keyName string, keyValue string, data interface{}) (int64, error)
- func (dbobj *MySQLDB) CloseDB()
- func (dbobj MySQLDB) CountRecords(t Tbl, keyName string, keyValue string) (int64, error)
- func (dbobj MySQLDB) CountRecords0(t Tbl) (int64, error)
- func (dbobj MySQLDB) CreateNewAppTable(appName string)
- func (dbobj MySQLDB) CreateRecord(t Tbl, data interface{}) (int, error)
- func (dbobj MySQLDB) CreateRecordInTable(tbl string, data interface{}) (int, error)
- func (dbobj MySQLDB) CreateTestDB() string
- func (dbobj MySQLDB) DBExists(dbname *string) bool
- func (dbobj MySQLDB) DeleteExpired(t Tbl, keyName string, keyValue string) (int64, error)
- func (dbobj MySQLDB) DeleteExpired0(t Tbl, expt int32) (int64, error)
- func (dbobj MySQLDB) DeleteRecord(t Tbl, keyName string, keyValue string) (int64, error)
- func (dbobj MySQLDB) DeleteRecord2(t Tbl, keyName string, keyValue string, keyName2 string, keyValue2 string) (int64, error)
- func (dbobj MySQLDB) DeleteRecordInTable(table string, keyName string, keyValue string) (int64, error)
- func (dbobj MySQLDB) Exec(q string) error
- func (dbobj MySQLDB) GetAllTables() ([]string, error)
- func (dbobj MySQLDB) GetExpiring(t Tbl, keyName string, keyValue string) ([]bson.M, error)
- func (dbobj MySQLDB) GetList(t Tbl, keyName string, keyValue string, start int32, limit int32, ...) ([]bson.M, error)
- func (dbobj MySQLDB) GetList0(t Tbl, start int32, limit int32, orderField string) ([]bson.M, error)
- func (dbobj MySQLDB) GetRecord(t Tbl, keyName string, keyValue string) (bson.M, error)
- func (dbobj MySQLDB) GetRecord2(t Tbl, keyName string, keyValue string, keyName2 string, keyValue2 string) (bson.M, error)
- func (dbobj MySQLDB) GetRecordFromTable(table string, keyName string, keyValue string) (bson.M, error)
- func (dbobj MySQLDB) GetUniqueList(t Tbl, keyName string) ([]bson.M, error)
- func (dbobj *MySQLDB) InitDB(dbname *string) error
- func (dbobj MySQLDB) LookupRecord(t Tbl, row bson.M) (bson.M, error)
- func (dbobj *MySQLDB) OpenDB(dbname *string) error
- func (dbobj MySQLDB) Ping() error
- func (dbobj MySQLDB) UpdateRecord(t Tbl, keyName string, keyValue string, bdoc *bson.M) (int64, error)
- func (dbobj MySQLDB) UpdateRecord2(t Tbl, keyName string, keyValue string, keyName2 string, keyValue2 string, ...) (int64, error)
- func (dbobj MySQLDB) UpdateRecordInTable(table string, keyName string, keyValue string, bdoc *bson.M) (int64, error)
- func (dbobj MySQLDB) UpdateRecordInTable2(table string, keyName string, keyValue string, keyName2 string, ...) (int64, error)
- func (dbobj MySQLDB) ValidateNewApp(appName string) bool
- type PGSQLDB
- func (dbobj PGSQLDB) BackupDB(w http.ResponseWriter)
- func (dbobj PGSQLDB) CleanupRecord(t Tbl, keyName string, keyValue string, data interface{}) (int64, error)
- func (dbobj *PGSQLDB) CloseDB()
- func (dbobj PGSQLDB) CountRecords(t Tbl, keyName string, keyValue string) (int64, error)
- func (dbobj PGSQLDB) CountRecords0(t Tbl) (int64, error)
- func (dbobj PGSQLDB) CreateNewAppTable(appName string)
- func (dbobj PGSQLDB) CreateRecord(t Tbl, data interface{}) (int, error)
- func (dbobj PGSQLDB) CreateRecordInTable(tbl string, data interface{}) (int, error)
- func (dbobj PGSQLDB) CreateTestDB() string
- func (dbobj PGSQLDB) DBExists(dbname *string) bool
- func (dbobj PGSQLDB) DeleteExpired(t Tbl, keyName string, keyValue string) (int64, error)
- func (dbobj PGSQLDB) DeleteExpired0(t Tbl, expt int32) (int64, error)
- func (dbobj PGSQLDB) DeleteRecord(t Tbl, keyName string, keyValue string) (int64, error)
- func (dbobj PGSQLDB) DeleteRecord2(t Tbl, keyName string, keyValue string, keyName2 string, keyValue2 string) (int64, error)
- func (dbobj PGSQLDB) DeleteRecordInTable(table string, keyName string, keyValue string) (int64, error)
- func (dbobj PGSQLDB) Exec(q string) error
- func (dbobj PGSQLDB) GetAllTables() ([]string, error)
- func (dbobj PGSQLDB) GetExpiring(t Tbl, keyName string, keyValue string) ([]bson.M, error)
- func (dbobj PGSQLDB) GetList(t Tbl, keyName string, keyValue string, start int32, limit int32, ...) ([]bson.M, error)
- func (dbobj PGSQLDB) GetList0(t Tbl, start int32, limit int32, orderField string) ([]bson.M, error)
- func (dbobj PGSQLDB) GetRecord(t Tbl, keyName string, keyValue string) (bson.M, error)
- func (dbobj PGSQLDB) GetRecord2(t Tbl, keyName string, keyValue string, keyName2 string, keyValue2 string) (bson.M, error)
- func (dbobj PGSQLDB) GetRecordFromTable(table string, keyName string, keyValue string) (bson.M, error)
- func (dbobj PGSQLDB) GetUniqueList(t Tbl, keyName string) ([]bson.M, error)
- func (dbobj *PGSQLDB) InitDB(dbname *string) error
- func (dbobj PGSQLDB) LookupRecord(t Tbl, row bson.M) (bson.M, error)
- func (dbobj *PGSQLDB) OpenDB(dbname *string) error
- func (dbobj PGSQLDB) Ping() error
- func (dbobj PGSQLDB) UpdateRecord(t Tbl, keyName string, keyValue string, bdoc *bson.M) (int64, error)
- func (dbobj PGSQLDB) UpdateRecord2(t Tbl, keyName string, keyValue string, keyName2 string, keyValue2 string, ...) (int64, error)
- func (dbobj PGSQLDB) UpdateRecordInTable(table string, keyName string, keyValue string, bdoc *bson.M) (int64, error)
- func (dbobj PGSQLDB) UpdateRecordInTable2(table string, keyName string, keyValue string, keyName2 string, ...) (int64, error)
- func (dbobj PGSQLDB) ValidateNewApp(appName string) bool
- type SQLiteDB
- func (dbobj SQLiteDB) BackupDB(w http.ResponseWriter)
- func (dbobj SQLiteDB) CleanupRecord(t Tbl, keyName string, keyValue string, data interface{}) (int64, error)
- func (dbobj *SQLiteDB) CloseDB()
- func (dbobj SQLiteDB) CountRecords(t Tbl, keyName string, keyValue string) (int64, error)
- func (dbobj SQLiteDB) CountRecords0(t Tbl) (int64, error)
- func (dbobj SQLiteDB) CreateNewAppTable(appName string)
- func (dbobj SQLiteDB) CreateRecord(t Tbl, data interface{}) (int, error)
- func (dbobj SQLiteDB) CreateRecordInTable(tbl string, data interface{}) (int, error)
- func (dbobj SQLiteDB) CreateTestDB() string
- func (dbobj SQLiteDB) DBExists(filepath *string) bool
- func (dbobj SQLiteDB) DeleteExpired(t Tbl, keyName string, keyValue string) (int64, error)
- func (dbobj SQLiteDB) DeleteExpired0(t Tbl, expt int32) (int64, error)
- func (dbobj SQLiteDB) DeleteRecord(t Tbl, keyName string, keyValue string) (int64, error)
- func (dbobj SQLiteDB) DeleteRecord2(t Tbl, keyName string, keyValue string, keyName2 string, keyValue2 string) (int64, error)
- func (dbobj SQLiteDB) DeleteRecordInTable(table string, keyName string, keyValue string) (int64, error)
- func (dbobj SQLiteDB) Exec(q string) error
- func (dbobj SQLiteDB) GetAllTables() ([]string, error)
- func (dbobj SQLiteDB) GetExpiring(t Tbl, keyName string, keyValue string) ([]bson.M, error)
- func (dbobj SQLiteDB) GetList(t Tbl, keyName string, keyValue string, start int32, limit int32, ...) ([]bson.M, error)
- func (dbobj SQLiteDB) GetList0(t Tbl, start int32, limit int32, orderField string) ([]bson.M, error)
- func (dbobj SQLiteDB) GetRecord(t Tbl, keyName string, keyValue string) (bson.M, error)
- func (dbobj SQLiteDB) GetRecord2(t Tbl, keyName string, keyValue string, keyName2 string, keyValue2 string) (bson.M, error)
- func (dbobj SQLiteDB) GetRecordFromTable(table string, keyName string, keyValue string) (bson.M, error)
- func (dbobj SQLiteDB) GetUniqueList(t Tbl, keyName string) ([]bson.M, error)
- func (dbobj *SQLiteDB) InitDB(filepath *string) error
- func (dbobj SQLiteDB) LookupRecord(t Tbl, row bson.M) (bson.M, error)
- func (dbobj *SQLiteDB) OpenDB(filepath *string) error
- func (dbobj SQLiteDB) Ping() error
- func (dbobj SQLiteDB) UpdateRecord(t Tbl, keyName string, keyValue string, bdoc *bson.M) (int64, error)
- func (dbobj SQLiteDB) UpdateRecord2(t Tbl, keyName string, keyValue string, keyName2 string, keyValue2 string, ...) (int64, error)
- func (dbobj SQLiteDB) UpdateRecordInTable(table string, keyName string, keyValue string, bdoc *bson.M) (int64, error)
- func (dbobj SQLiteDB) UpdateRecordInTable2(table string, keyName string, keyValue string, keyName2 string, ...) (int64, error)
- func (dbobj SQLiteDB) ValidateNewApp(appName string) bool
- type Tbl
Constants ¶
This section is empty.
Variables ¶
var TblName = &listTbls{
Users: 0,
Audit: 1,
Xtokens: 2,
Sessions: 3,
Requests: 4,
Userapps: 5,
Legalbasis: 6,
Agreements: 7,
Sharedrecords: 8,
Processingactivities: 9,
}
TblName is enum of tables
Functions ¶
func CreateTestDB ¶
func CreateTestDB() string
Types ¶
type BackendDB ¶
type BackendDB interface { DBExists(*string) bool OpenDB(*string) error InitDB(*string) error CreateTestDB() string Ping() error CloseDB() BackupDB(http.ResponseWriter) CreateNewAppTable(string) Exec(string) error CreateRecordInTable(string, interface{}) (int, error) CreateRecord(Tbl, interface{}) (int, error) CountRecords0(Tbl) (int64, error) CountRecords(Tbl, string, string) (int64, error) UpdateRecord(Tbl, string, string, *bson.M) (int64, error) UpdateRecordInTable(string, string, string, *bson.M) (int64, error) UpdateRecord2(Tbl, string, string, string, string, *bson.M, *bson.M) (int64, error) UpdateRecordInTable2(string, string, string, string, string, *bson.M, *bson.M) (int64, error) LookupRecord(Tbl, bson.M) (bson.M, error) GetRecord(Tbl, string, string) (bson.M, error) GetRecordFromTable(string, string, string) (bson.M, error) GetRecord2(Tbl, string, string, string, string) (bson.M, error) DeleteRecord(Tbl, string, string) (int64, error) DeleteRecordInTable(string, string, string) (int64, error) DeleteRecord2(Tbl, string, string, string, string) (int64, error) DeleteExpired0(Tbl, int32) (int64, error) DeleteExpired(Tbl, string, string) (int64, error) CleanupRecord(Tbl, string, string, interface{}) (int64, error) GetExpiring(Tbl, string, string) ([]bson.M, error) GetUniqueList(Tbl, string) ([]bson.M, error) GetList0(Tbl, int32, int32, string) ([]bson.M, error) GetList(Tbl, string, string, int32, int32, string) ([]bson.M, error) GetAllTables() ([]string, error) ValidateNewApp(appName string) bool }
type MySQLDB ¶
type MySQLDB struct {
// contains filtered or unexported fields
}
MySQL struct is used to store database object
func (MySQLDB) BackupDB ¶
func (dbobj MySQLDB) BackupDB(w http.ResponseWriter)
BackupDB function backups existing database and prints database structure to http.ResponseWriter
func (MySQLDB) CleanupRecord ¶
func (dbobj MySQLDB) CleanupRecord(t Tbl, keyName string, keyValue string, data interface{}) (int64, error)
CleanupRecord nullifies specific feilds in records in database
func (MySQLDB) CountRecords ¶
CountRecords returns number of records that match filter
func (MySQLDB) CountRecords0 ¶
CountRecords0 returns number of records in table
func (MySQLDB) CreateNewAppTable ¶
CreateNewAppTable creates a new app table and creates indexes for it.
func (MySQLDB) CreateRecord ¶
CreateRecord creates new record
func (MySQLDB) CreateRecordInTable ¶
CreateRecordInTable creates new record
func (MySQLDB) CreateTestDB ¶
CreateTestDB creates a test db
func (MySQLDB) DeleteExpired ¶
DeleteExpired deletes expired records in database
func (MySQLDB) DeleteExpired0 ¶
DeleteExpired0 deletes expired records in database
func (MySQLDB) DeleteRecord ¶
DeleteRecord deletes record in database
func (MySQLDB) DeleteRecord2 ¶
func (dbobj MySQLDB) DeleteRecord2(t Tbl, keyName string, keyValue string, keyName2 string, keyValue2 string) (int64, error)
DeleteRecord2 deletes record in database
func (MySQLDB) DeleteRecordInTable ¶
func (dbobj MySQLDB) DeleteRecordInTable(table string, keyName string, keyValue string) (int64, error)
DeleteRecordInTable deletes record in database
func (MySQLDB) GetAllTables ¶
GetAllTables returns all tables that exists in database
func (MySQLDB) GetExpiring ¶
GetExpiring get records that are expiring
func (MySQLDB) GetList ¶
func (dbobj MySQLDB) GetList(t Tbl, keyName string, keyValue string, start int32, limit int32, orderField string) ([]bson.M, error)
GetList is used to return list of rows. It can be used to return values using pager.
func (MySQLDB) GetList0 ¶
GetList is used to return list of rows. It can be used to return values using pager.
func (MySQLDB) GetRecord2 ¶
func (dbobj MySQLDB) GetRecord2(t Tbl, keyName string, keyValue string, keyName2 string, keyValue2 string) (bson.M, error)
GetRecord2 returns specific record from database
func (MySQLDB) GetRecordFromTable ¶
func (dbobj MySQLDB) GetRecordFromTable(table string, keyName string, keyValue string) (bson.M, error)
GetRecordFromTable returns specific record from database
func (MySQLDB) GetUniqueList ¶
GetUniqueList returns a unique list of values from specific column in database
func (MySQLDB) LookupRecord ¶
Lookup record by multiple fields
func (MySQLDB) UpdateRecord ¶
func (dbobj MySQLDB) UpdateRecord(t Tbl, keyName string, keyValue string, bdoc *bson.M) (int64, error)
UpdateRecord updates database record
func (MySQLDB) UpdateRecord2 ¶
func (dbobj MySQLDB) UpdateRecord2(t Tbl, keyName string, keyValue string, keyName2 string, keyValue2 string, bdoc *bson.M, bdel *bson.M) (int64, error)
UpdateRecord2 updates database record
func (MySQLDB) UpdateRecordInTable ¶
func (dbobj MySQLDB) UpdateRecordInTable(table string, keyName string, keyValue string, bdoc *bson.M) (int64, error)
UpdateRecordInTable updates database record
func (MySQLDB) UpdateRecordInTable2 ¶
func (dbobj MySQLDB) UpdateRecordInTable2(table string, keyName string, keyValue string, keyName2 string, keyValue2 string, bdoc *bson.M, bdel *bson.M) (int64, error)
UpdateRecordInTable2 updates database record
func (MySQLDB) ValidateNewApp ¶
ValidateNewApp function check if app name can be part of the table name
type PGSQLDB ¶
type PGSQLDB struct {
// contains filtered or unexported fields
}
PGSQL struct is used to store database object
func (PGSQLDB) BackupDB ¶
func (dbobj PGSQLDB) BackupDB(w http.ResponseWriter)
BackupDB function backups existing database and prints database structure to http.ResponseWriter
func (PGSQLDB) CleanupRecord ¶
func (dbobj PGSQLDB) CleanupRecord(t Tbl, keyName string, keyValue string, data interface{}) (int64, error)
CleanupRecord nullifies specific feilds in records in database
func (PGSQLDB) CountRecords ¶
CountRecords returns number of records that match filter
func (PGSQLDB) CountRecords0 ¶
CountRecords0 returns number of records in table
func (PGSQLDB) CreateNewAppTable ¶
CreateNewAppTable creates a new app table and creates indexes for it.
func (PGSQLDB) CreateRecord ¶
CreateRecord creates new record
func (PGSQLDB) CreateRecordInTable ¶
CreateRecordInTable creates new record
func (PGSQLDB) CreateTestDB ¶
CreateTestDB creates a test db
func (PGSQLDB) DeleteExpired ¶
DeleteExpired deletes expired records in database
func (PGSQLDB) DeleteExpired0 ¶
DeleteExpired0 deletes expired records in database
func (PGSQLDB) DeleteRecord ¶
DeleteRecord deletes record in database
func (PGSQLDB) DeleteRecord2 ¶
func (dbobj PGSQLDB) DeleteRecord2(t Tbl, keyName string, keyValue string, keyName2 string, keyValue2 string) (int64, error)
DeleteRecord2 deletes record in database
func (PGSQLDB) DeleteRecordInTable ¶
func (dbobj PGSQLDB) DeleteRecordInTable(table string, keyName string, keyValue string) (int64, error)
DeleteRecordInTable deletes record in database
func (PGSQLDB) GetAllTables ¶
GetAllTables returns all tables that exists in database
func (PGSQLDB) GetExpiring ¶
GetExpiring get records that are expiring
func (PGSQLDB) GetList ¶
func (dbobj PGSQLDB) GetList(t Tbl, keyName string, keyValue string, start int32, limit int32, orderField string) ([]bson.M, error)
GetList is used to return list of rows. It can be used to return values using pager.
func (PGSQLDB) GetList0 ¶
GetList is used to return list of rows. It can be used to return values using pager.
func (PGSQLDB) GetRecord2 ¶
func (dbobj PGSQLDB) GetRecord2(t Tbl, keyName string, keyValue string, keyName2 string, keyValue2 string) (bson.M, error)
GetRecord2 returns specific record from database
func (PGSQLDB) GetRecordFromTable ¶
func (dbobj PGSQLDB) GetRecordFromTable(table string, keyName string, keyValue string) (bson.M, error)
GetRecordFromTable returns specific record from database
func (PGSQLDB) GetUniqueList ¶
GetUniqueList returns a unique list of values from specific column in database
func (PGSQLDB) LookupRecord ¶
Lookup record by multiple fields
func (PGSQLDB) UpdateRecord ¶
func (dbobj PGSQLDB) UpdateRecord(t Tbl, keyName string, keyValue string, bdoc *bson.M) (int64, error)
UpdateRecord updates database record
func (PGSQLDB) UpdateRecord2 ¶
func (dbobj PGSQLDB) UpdateRecord2(t Tbl, keyName string, keyValue string, keyName2 string, keyValue2 string, bdoc *bson.M, bdel *bson.M) (int64, error)
UpdateRecord2 updates database record
func (PGSQLDB) UpdateRecordInTable ¶
func (dbobj PGSQLDB) UpdateRecordInTable(table string, keyName string, keyValue string, bdoc *bson.M) (int64, error)
UpdateRecordInTable updates database record
func (PGSQLDB) UpdateRecordInTable2 ¶
func (dbobj PGSQLDB) UpdateRecordInTable2(table string, keyName string, keyValue string, keyName2 string, keyValue2 string, bdoc *bson.M, bdel *bson.M) (int64, error)
UpdateRecordInTable2 updates database record
func (PGSQLDB) ValidateNewApp ¶
ValidateNewApp function check if app name can be part of the table name
type SQLiteDB ¶
type SQLiteDB struct {
// contains filtered or unexported fields
}
SQLiteDB struct is used to store database object
func (SQLiteDB) BackupDB ¶
func (dbobj SQLiteDB) BackupDB(w http.ResponseWriter)
BackupDB function backups existing database and prints database structure to http.ResponseWriter
func (SQLiteDB) CleanupRecord ¶
func (dbobj SQLiteDB) CleanupRecord(t Tbl, keyName string, keyValue string, data interface{}) (int64, error)
CleanupRecord nullifies specific feilds in records in database
func (*SQLiteDB) CloseDB ¶
func (dbobj *SQLiteDB) CloseDB()
CloseDB function closes the open database
func (SQLiteDB) CountRecords ¶
CountRecords returns number of records that match filter
func (SQLiteDB) CountRecords0 ¶
CountRecords returns number of records in table
func (SQLiteDB) CreateNewAppTable ¶
CreateNewAppTable creates a new app table and creates indexes for it.
func (SQLiteDB) CreateRecord ¶
CreateRecord creates new record
func (SQLiteDB) CreateRecordInTable ¶
CreateRecordInTable creates new record
func (SQLiteDB) CreateTestDB ¶
CreateTestDB creates a test db
func (SQLiteDB) DeleteExpired ¶
DeleteExpired deletes expired records in database
func (SQLiteDB) DeleteExpired0 ¶
DeleteExpired0 deletes expired records in database
func (SQLiteDB) DeleteRecord ¶
DeleteRecord deletes record in database
func (SQLiteDB) DeleteRecord2 ¶
func (dbobj SQLiteDB) DeleteRecord2(t Tbl, keyName string, keyValue string, keyName2 string, keyValue2 string) (int64, error)
DeleteRecord2 deletes record in database
func (SQLiteDB) DeleteRecordInTable ¶
func (dbobj SQLiteDB) DeleteRecordInTable(table string, keyName string, keyValue string) (int64, error)
DeleteRecordInTable deletes record in database
func (SQLiteDB) GetAllTables ¶
GetAllTables returns all tables that exists in database
func (SQLiteDB) GetExpiring ¶
GetExpiring get records that are expiring
func (SQLiteDB) GetList ¶
func (dbobj SQLiteDB) GetList(t Tbl, keyName string, keyValue string, start int32, limit int32, orderField string) ([]bson.M, error)
GetList is used to return list of rows. It can be used to return values using pager.
func (SQLiteDB) GetList0 ¶
func (dbobj SQLiteDB) GetList0(t Tbl, start int32, limit int32, orderField string) ([]bson.M, error)
GetList is used to return list of rows. It can be used to return values using pager.
func (SQLiteDB) GetRecord2 ¶
func (dbobj SQLiteDB) GetRecord2(t Tbl, keyName string, keyValue string, keyName2 string, keyValue2 string) (bson.M, error)
GetRecord2 returns specific record from database
func (SQLiteDB) GetRecordFromTable ¶
func (dbobj SQLiteDB) GetRecordFromTable(table string, keyName string, keyValue string) (bson.M, error)
GetRecordFromTable returns specific record from database
func (SQLiteDB) GetUniqueList ¶
GetUniqueList returns a unique list of values from specific column in database
func (SQLiteDB) LookupRecord ¶
Lookup record by multiple fields
func (SQLiteDB) UpdateRecord ¶
func (dbobj SQLiteDB) UpdateRecord(t Tbl, keyName string, keyValue string, bdoc *bson.M) (int64, error)
UpdateRecord updates database record
func (SQLiteDB) UpdateRecord2 ¶
func (dbobj SQLiteDB) UpdateRecord2(t Tbl, keyName string, keyValue string, keyName2 string, keyValue2 string, bdoc *bson.M, bdel *bson.M) (int64, error)
UpdateRecord2 updates database record
func (SQLiteDB) UpdateRecordInTable ¶
func (dbobj SQLiteDB) UpdateRecordInTable(table string, keyName string, keyValue string, bdoc *bson.M) (int64, error)
UpdateRecordInTable updates database record
func (SQLiteDB) UpdateRecordInTable2 ¶
func (dbobj SQLiteDB) UpdateRecordInTable2(table string, keyName string, keyValue string, keyName2 string, keyValue2 string, bdoc *bson.M, bdel *bson.M) (int64, error)
UpdateRecordInTable2 updates database record
func (SQLiteDB) ValidateNewApp ¶
ValidateNewApp function check if app name can be part of the table name