simple-swoole / simps

🚀 A simple, lightweight and high-performance PHP coroutine framework.
https://simps.io
Apache License 2.0
471 stars 48 forks source link

medoo 如何整合 #28

Closed easygoto closed 3 years ago

easygoto commented 3 years ago

我看了文档,说 Medoo 应该继承于 BaseModel,这样的话,我遇到的问题是,实例化他们的参数不一样,是不是还要做另外的封装

sy-records commented 3 years ago

嗯 参考下redis这里 https://github.com/simple-swoole/db/blob/master/src/Redis.php#L48

easygoto commented 3 years ago

了解,多谢