Documentation ¶
Index ¶
- func ApplyLatestDBMigrations(db *sql.DB) error
- func ExportTableToJson(db *sql.DB, exportDir string, tableName string) error
- func FetchProperties(db *sql.DB, keyFilter string, modifiedOnly bool, selectedTags []string) ([]models.PropertyValue, error)
- func FetchPropertyTagIDs(db *sql.DB, propertyID int) ([]int, error)
- func FetchTags(db *sql.DB) ([]models.Tag, error)
- func GetPropertyByID(db *sql.DB, id int) (models.Property, error)
- func GetPropertyByKey(db *sql.DB, key string) (*models.Property, error)
- func InsertProperty(db *sql.DB, key, description, defaultValue, modifiedValue string, ...) error
- func UpdateProperty(db *sql.DB, id int, key, description, defaultValue, modifiedValue string, ...) error
- func UpdatePropertyCalculatedValue(db *sql.DB, id int, calculatedValue string) error
- func UpdatePropertyTags(db *sql.DB, propertyID int, tagIDs []string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyLatestDBMigrations ¶
func ExportTableToJson ¶
func FetchProperties ¶
func FetchProperties(db *sql.DB, keyFilter string, modifiedOnly bool, selectedTags []string) ([]models.PropertyValue, error)
Fetch rows from the Property table depending on the specific filter setting arguments
func FetchPropertyTagIDs ¶
Fetch all tags for a property
func InsertProperty ¶
func UpdateProperty ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.