- 授权协议: Apache
- 开发语言: Scala
- 操作系统: 跨平台
- 软件首页: http://git.oschina.net/livehl/zxorm
- 软件文档: http://git.oschina.net/livehl/zxorm
软件介绍
zxorm 是一个 scala 的 轻量级 orm,代码简洁高效
查询
DBEntity.queryOne(classOf[User],"select * from User where name=? ",name)
DBEntity.query(classOf[User], "select * from Users)")
增加
new User(0,"tom",12).insert // id=1,name=tom,age=12
new User(0,"tomcat",18).insert("name") //id=2,name=tomcat,age=null
修改
new User(2,"dog",22).update("id","name")//id=2,name=dog,age=18
new User(2,"tomcat",30).update("id")//id=2,name=tomcat,age=30
Code Complete
Steve McConnell / Microsoft Press / 2004-6-19 / GBP 40.99
在线阅读本书 Widely considered one of the best practical guides to programming, Steve McConnells original CODE COMPLETE has been helping developers write better software for more than a decade. Now......一起来看看 《Code Complete》 这本书的介绍吧!