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

#34: Make --ns and --db arguments optional in command-line REPL #63

Merged
merged 2 commits into from
Aug 26, 2022

Conversation

clawcastle
Copy link
Contributor

@clawcastle clawcastle commented Aug 26, 2022

What is the motivation?

Making --ns and --db arguments optional for the sql subcomman, allowing them to be specified at a later time.

What does this change do?

Makes --ns and --db arguments optional for the sql subcommand in the CLI.

What is your testing strategy?

I've run the CLI with the sql command against the SurrealDB database serve (started using cargo run -- start memory --bind 0.0.0.0:9000 --user root --pass root, and verified that the CLI is able to start and that I can specify both the db and ns variables. After doing so I am also able to insert data.

Is this related to any issues?

It is related to issue #34.

Have you read the Contributing Guidelines?

[x] I have read the Contributing Guidelines

@tobiemh tobiemh merged commit 2bfcb9d into surrealdb:main Aug 26, 2022
@tobiemh
Copy link
Member

tobiemh commented Aug 26, 2022

@sunero4 thanks so much for this and for being a contributor! Awesome work 👏!

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.

None yet

2 participants