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

Extend all the examples #530

Closed
3 tasks done
b1ron opened this issue Jul 27, 2023 · 2 comments · Fixed by FerretDB/dotnet-example#5, FerretDB/python-example#2 or FerretDB/java-example#3
Closed
3 tasks done

Extend all the examples #530

b1ron opened this issue Jul 27, 2023 · 2 comments · Fixed by FerretDB/dotnet-example#5, FerretDB/python-example#2 or FerretDB/java-example#3
Assignees
Labels
code/chore Dance tool code maintenance improvements

Comments

@b1ron
Copy link
Contributor

b1ron commented Jul 27, 2023

This is to unify all examples and also add more commands for more coverage.

Tasks

Preview Give feedback
  1. b1ron
  2. b1ron
  3. b1ron
@b1ron b1ron self-assigned this Jul 27, 2023
@b1ron b1ron added the code/chore Dance tool code maintenance improvements label Jul 27, 2023
@b1ron b1ron moved this to In progress in Current Engineering Jul 27, 2023
b1ron added a commit to FerretDB/python-example that referenced this issue Aug 10, 2023
b1ron added a commit to FerretDB/java-example that referenced this issue Aug 10, 2023
@rumyantseva rumyantseva reopened this Aug 11, 2023
b1ron added a commit to FerretDB/dotnet-example that referenced this issue Aug 14, 2023
@b1ron b1ron moved this from In progress to Done in Current Engineering Aug 14, 2023
@AlekSi AlekSi reopened this Aug 17, 2023
@github-project-automation github-project-automation bot moved this from Done to In progress in Current Engineering Aug 17, 2023
@AlekSi AlekSi moved this from In progress to Open in Current Engineering Aug 17, 2023
@AlekSi
Copy link
Member

AlekSi commented Aug 17, 2023

#554 is not merged and actually fails

@b1ron
Copy link
Contributor Author

b1ron commented Aug 20, 2023

I have reverted FerretDB/java-example/pull/4.

The result from the dropDatabase command differs depending on whether the database exists or not. MongoDB just returns { "ok" : 1 } regardless. I must have created the test database leading me to create FerretDB/java-example/pull/4 as a "fix".

byron@byron-ThinkCentre-M910q:~/workdir/dance$ mongo --quiet --eval 'db.runCommand({dropDatabase: 1});'
{ "ok" : 1 }
byron@byron-ThinkCentre-M910q:~/workdir/dance$ mongo --quiet --eval 'db.foo.insert({}); db.runCommand({dropDatabase: 1});'
{ "dropped" : "test", "ok" : 1 }

@b1ron b1ron moved this from Open to Done in Current Engineering Aug 22, 2023
@b1ron b1ron closed this as completed Aug 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code/chore Dance tool code maintenance improvements
Projects
Archived in project
3 participants