mirror of
https://codeberg.org/shroff/phylum.git
synced 2026-05-03 18:49:15 -05:00
[server][cmd] improve cp
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
|
||||
-- name: ReadDir :many
|
||||
WITH RECURSIVE nodes(id, parent, name, dir, created, modified, content_size, content_type, content_sha256, depth, path, permissions) AS (
|
||||
SELECT r.id, r.parent, r.name, r.dir, r.created, r.modified, r.content_size, r.content_type, r.content_sha256, 0, '/'::text, r.permissions
|
||||
SELECT r.id, r.parent, r.name, r.dir, r.created, r.modified, r.content_size, r.content_type, r.content_sha256, 0, ''::text, r.permissions
|
||||
FROM resources r
|
||||
WHERE r.id = @id::uuid
|
||||
UNION ALL
|
||||
|
||||
Reference in New Issue
Block a user