dm
dm copied to clipboard
feat!: `copy_dm_to()` uses `dm_sql()`. Unique keys (#1887) and autoincrement primary keys (#1725) are created on the database. Data models with cyclic references are supported on databases that allow adding constraints in `ALTER TABLE` statements (at this time, all except DuckDB and SQLite, #664)
- Closes #1887.
- Closes #1725.
- Closes #847.
- Closes #664.
- Closes #1385.
@nbenn @TSchiefer @moodymudskipper: Can you please test this branch to see if it works for your projects that use dm? I'd like to send it to CRAN tomorrow.
There are breaking changes to copy_dm_to()
, but we gain dm_sql()
and friends that allow finer-grained control over the SQL that writes a dm to a database.
I just realized that this PR doesn't necessarily have to be a part of tomorrow's CRAN release. This buys us a little more time if things go sideways, which they will, one way or another.
Current Aviator status
Aviator will automatically update this comment as the status of the PR changes. Comment
/aviator refresh
to force Aviator to re-examine your PR (or learn about other/aviator
commands).
This pull request is currently open (not queued).
How to merge
To merge this PR, comment /aviator merge
or add the mergequeue
label.
See the real-time status of this PR on the Aviator webapp.
This pull request failed to merge: some CI status(es) failed. Remove the blocked
label to re-queue.
Failed CI(s): Smoke test: stock R
This pull request failed to merge: some CI status(es) failed. Remove the blocked
label to re-queue.
Failed CI(s): ubuntu-22.04 (release) DuckDB with covr
This pull request failed to merge: some CI status(es) failed. Remove the blocked
label to re-queue.
Failed CI(s): codecov/project
This pull request failed to merge: some CI status(es) failed. Remove the blocked
label to re-queue.
Failed CI(s): Smoke test: stock R
This pull request failed to merge: some CI status(es) failed. Remove the blocked
label to re-queue.
Failed CI(s): ubuntu-22.04 (release) Postgres with covr, ubuntu-22.04 (release) MySQL with covr
This pull request can't be queued because it's currently a draft.