scala的ORM框架 zxorm

码农软件 · 软件分类 · ORM/持久层框架 · 2019-09-24 16:26:53

软件介绍

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

本文地址:https://www.codercto.com/soft/d/15310.html

Code Complete

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》 这本书的介绍吧!

随机密码生成器
随机密码生成器

多种字符组合密码

URL 编码/解码
URL 编码/解码

URL 编码/解码

HSV CMYK 转换工具
HSV CMYK 转换工具

HSV CMYK互换工具