Home > Backend Development > PHP Tutorial > 有没有好用的开源的php mysql class,类似medoo解决方法

有没有好用的开源的php mysql class,类似medoo解决方法

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-13 11:46:06
Original
1069 people have browsed it

有没有好用的开源的php mysql class,类似medoo
有没有好用的开源的php mysql class,类似medoo的那种

但是medoo没有  orderby    limit 等功能

CI框架中的db类比较好用,但是我想脱离ci去用他的db类,现在还做不到


有没有知道其他的好用的mysql class,最好是开源的成熟的
------解决方案--------------------
medoo 不就很好的吗?

medoo 是有 order by 的(http://medoo.in/api/where)

$database->select("account", "user_id", [<br />	"GROUP" => "type",<br /> <br />	// "ORDER" => "age DESC"<br />	"ORDER" => "age",<br /> <br />	// Must have to use it with ORDER together<br />	"HAVING" => [<br />		"user_id[>]" => 500<br />	],<br /> <br />	// LIMIT => 20<br />	"LIMIT" => [20, 100]<br />]);<br />//	SELECT user_id FROM account<br />//	GROUP BY type<br />//	ORDER BY age<br />//	HAVING user_id > 500<br />//	LIMIT 20,100
Copy after login

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template