@dascompany/product 4.0.14 → 4.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/SQL.json
CHANGED
|
@@ -98,7 +98,7 @@
|
|
|
98
98
|
"files": {
|
|
99
99
|
"select": "SELECT * FROM files.files",
|
|
100
100
|
"selectId": "SELECT id FROM files.files ",
|
|
101
|
-
"selectForConnection": "SELECT id, name, catalog, type, sequence FROM files.files JOIN files.file_connections ON file_id = id",
|
|
101
|
+
"selectForConnection": "SELECT id, name, catalog, type, sequence, alt, title, created_at FROM files.files JOIN files.file_connections ON file_id = id",
|
|
102
102
|
"insert": "INSERT INTO files.files( id, name, orginal_name, catalog, size_kb, type, alt, title, created_at ) VALUES ( $id::BIGINT, $name::TEXT, $orginal_name::TEXT, $catalog::TEXT, $size_kb::BIGINT, $type::TEXT, $alt::TEXT, $title::TEXT, now() )",
|
|
103
103
|
"update": "UPDATE files.files SET name = $name::TEXT, orginal_name = $orginal_name::TEXT, catalog = $catalog::TEXT, size_kb = $size_kb::BIGINT, type = $type::TEXT, alt = $alt::TEXT, title = $title::TEXT WHERE id = $id::BIGINT ",
|
|
104
104
|
"count": "SELECT COUNT(*) AS total_rows FROM files.files",
|