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

MongoQuery实例化错误 #10

Closed
evalor opened this issue Dec 7, 2017 · 3 comments
Closed

MongoQuery实例化错误 #10

evalor opened this issue Dec 7, 2017 · 3 comments

Comments

@evalor
Copy link
Contributor

evalor commented Dec 7, 2017

Commit : 84d9b78 / dc72288

此处尝试new一个MongoQuery,MongoQuery继承自Query,构造中规定传入Connection类型

MongoConnector并没有继承自Connection引起错误

Uncaught TypeError: Argument 1 passed to think\db\Query::__construct() must be an instance of think\db\Connection or null, instance of think\db\connector\Mongo given
@liu21st
Copy link
Member

liu21st commented Dec 8, 2017

我修正了下

@evalor
Copy link
Contributor Author

evalor commented Dec 8, 2017

感谢

@evalor
Copy link
Contributor Author

evalor commented Dec 9, 2017

已解决

@evalor evalor closed this as completed Dec 9, 2017
@ghost ghost mentioned this issue May 21, 2022
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

2 participants