Skip to content
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

Adds an info and list command for getting more details on subscriptions #260

Merged
merged 1 commit into from
Sep 20, 2024

Conversation

somtochiama
Copy link
Contributor

@somtochiama somtochiama commented Sep 18, 2024

somma@odysseus:~/workspace/superfly/corrosion$ target/debug/corrosion -c _personal/config.toml subs info --hash 6525eb339b115733
{
  "hash": "6525eb339b115733",
  "id": "fe4523c2-c1ef-4d49-99e7-cd35ac8632de",
  "last_change_id": 0,
  "original_query": "SELECT id,title,completed_at FROM todos",
  "path": "./test-corrosion/subscriptions/fe4523c2c1ef4d4999e7cd35ac8632de",
  "statements": [
    {
      "todos": "SELECT todos.id AS __corro_pk_todos_id, id AS col_0, title AS col_1, completed_at AS col_2 FROM todos WHERE (todos.id) IN __corro_sub.temp_todos"
    }
  ]
}

@somtochiama somtochiama changed the title Adds an info command for getting more details on subscriptions Adds an info and list command for getting more details on subscriptions Sep 19, 2024
Copy link
Member

@jeromegn jeromegn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good except for the naming inconsistency.

crates/corro-admin/src/lib.rs Outdated Show resolved Hide resolved
@somtochiama somtochiama merged commit 6fa8d9e into main Sep 20, 2024
4 checks passed
@somtochiama somtochiama deleted the corro-subs branch September 20, 2024 12:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants