mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
--crossdb option for joining across databases (#1232)
* Test for cross-database join, refs #283 * Warn if --crossdb used with more than 10 DBs, refs #283 * latest.datasette.io demo of --crossdb joins, refs #283 * Show attached databases on /_memory page, refs #283 * Documentation for cross-database queries, refs #283
This commit is contained in:
parent
4df548e766
commit
6f41c8a2be
13 changed files with 215 additions and 8 deletions
6
.github/workflows/deploy-latest.yml
vendored
6
.github/workflows/deploy-latest.yml
vendored
|
|
@ -31,7 +31,7 @@ jobs:
|
|||
- name: Run tests
|
||||
run: pytest
|
||||
- name: Build fixtures.db
|
||||
run: python tests/fixtures.py fixtures.db fixtures.json plugins
|
||||
run: python tests/fixtures.py fixtures.db fixtures.json plugins --extra-db-filename extra_database.db
|
||||
- name: Build docs.db
|
||||
run: |-
|
||||
cd docs
|
||||
|
|
@ -48,12 +48,12 @@ jobs:
|
|||
run: |-
|
||||
gcloud config set run/region us-central1
|
||||
gcloud config set project datasette-222320
|
||||
datasette publish cloudrun fixtures.db \
|
||||
datasette publish cloudrun fixtures.db extra_database.db \
|
||||
-m fixtures.json \
|
||||
--plugins-dir=plugins \
|
||||
--branch=$GITHUB_SHA \
|
||||
--version-note=$GITHUB_SHA \
|
||||
--extra-options="--setting template_debug 1" \
|
||||
--extra-options="--setting template_debug 1 --crossdb" \
|
||||
--install=pysqlite3-binary \
|
||||
--service=datasette-latest
|
||||
# Deploy docs.db to a different service
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue