New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add r.index_rename('old', 'new')
command
#2794
Comments
Working on this now. |
This is a bit rushed because of #2789, so any API discussion should happen quickly. |
As part of the ReQL admin API we will be adding similar |
Proposed APIParametersThis term is run on a table and takes exactly two arguments:
Optargs
Return Value
Errors
|
Forgot to specify the return value, added above. |
It should also be an error if the first to arguments are equal. |
@AtnNn, should that really be an error or just a no-op? |
@Tryneus a no-op, returning |
Can do, also adding errors for when the old or new name is the same as the primary key. |
Looks fine. I'm not sure whether we really want to have the We should make sure that this works correctly with backfilling. This is also very remotely related to #2477, in the sense that if we wanted to rewrite that code (which we probably shouldn't at this point) we would probably want to fix both. |
This is implemented and up in review 1863. |
<.< Curse you GitHub for including labels in the history. |
We need this command to make migration work smoothly for 1.14 . It should have the following behavior:
(See #2789.)
Are there any strong objections to this? (Consider it an accelerated RQL_proposal since we need it for release.)
The text was updated successfully, but these errors were encountered: