Ingestable: use ingest_path for local paths
This way we don't error-out when a path is a directory. That said, we're still only including the root in sidx.db (e.g. manifests/ but not manifests/*.json). We should change that next. Also renamed "blob_id" to "blake3_id" because datasette has a special branch for ${column}_id referencing a table that contains ${column}
This commit is contained in:
parent
65326b2dcb
commit
56a0b346cd
5 changed files with 53 additions and 48 deletions
|
@ -5,10 +5,10 @@ SELECT
|
|||
FROM
|
||||
sidx_uri_sample AS s,
|
||||
sidx_uri AS u,
|
||||
sidx_blob AS b
|
||||
sidx_blake3 AS b
|
||||
ON
|
||||
s.uri_id = u.id
|
||||
AND s.blob_id = b.id
|
||||
AND s.blake3_id = b.id
|
||||
WHERE
|
||||
u.uri = ?
|
||||
ORDER BY
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue