{"repo":"chenyingqiao/Phero","free":true,"listed":false,"github":"https://github.com/chenyingqiao/Phero","clone":"git clone https://github.com/chenyingqiao/Phero.git","description":"这个是一个独立的orm组件可以使用在任何系统中，提供灵活的orm操作，注解形式的数据库和类的映射。This is a database query tool library. swoole mysql pool.","language":"PHP","stars":99,"topics":["sql","orm","composer","swoole","dbpoo"],"license":"Apache-2.0","category":"databases-storage","readme_excerpt":"介绍 phero是一个数据库查询的orm类库，注解形式的model以及方便快速的数据库操作方法 这是一个兴趣使然的ORM（手动斜眼笑） V1.0.3 支持下列特性: - swoole task数据库连接池 - 数据库链接断线自动重连 - 注解形式的Unit - 读写分离配置 - 流畅的orm,支持复杂sql - 注解形式的模型关联 - 命令行模型生成 - 查询即时缓存（redis，mamcache） 文档位于doc 可以查看test中单元测试的例子 安装 - composer - git clone 第一个ORM 创建一个Unit 对应的表结构为 进行一些基础的查询 单表 子查询 关键字 对应sql符号 ------------------------------ ------------ where{and/or}Eq = where{and/or}Neq \\ (!=) where{and/or}In in where{and/or}Not in not in where{and/or}Between between where{and/or}Like like where{and/or}Not like not like where{and/or}Lt where{and/or}Ge = where{and/or}Regexp regexp where{and/or}Isnotnull is not null where{and/or}Isnull is null where{and/or}Exists exists where{and/or}Not exists not exists where{Lt/Lr/Gt/Ge}{and/or}All all where{Lt/Lr/Gt/Ge}{and/or}Any any 删除 更新 插入","default_branch":null,"files":null,"tree":[],"storefront":"/r/chenyingqiao","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/chenyingqiao/Phero/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}