Folders: Introduce folder service function for fetching folders by org and UIDs that contain optionally the folder full path (#80716)
* Folders: Expose function for getting all org folders with specific UIDs * Return all org folders if UIDs is empty * Filter out not accessible folders by the user * Modify query to optionally returning a string that contains the UIDs of all parent folders separated by slash.
This commit is contained in:
@@ -209,3 +209,7 @@ func (db *SQLite3) UpsertMultipleSQL(tableName string, keyCols, updateCols []str
|
||||
)
|
||||
return s, nil
|
||||
}
|
||||
|
||||
func (db *SQLite3) Concat(strs ...string) string {
|
||||
return strings.Join(strs, " || ")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user