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

Use of MongoTalk's MQQueryBuilder #37

Closed
sebastianconcept opened this issue Sep 9, 2021 · 2 comments
Closed

Use of MongoTalk's MQQueryBuilder #37

sebastianconcept opened this issue Sep 9, 2021 · 2 comments

Comments

@sebastianconcept
Copy link
Owner

Make Mapless API for a MongoDB repository, able to use MQQuery.

@sebastianconcept
Copy link
Owner Author

This works:

testSelectWithAnd
	| found |
	repository
		do: [ self addDummyPeople.
			found := DummyPerson
				findOne: [ :each | each firstName = 'john' & (each lastName = 'q4') ].
			self assert: found notNil.
			self assert: found firstName equals: 'john'.
			self assert: found lastName equals: 'q4' ]

@sebastianconcept
Copy link
Owner Author

This is enough at this point #38

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

No branches or pull requests

1 participant