scalax / hf Goto Github PK
View Code? Open in Web Editor NEWA scala slick plugin. Dynamically update columns in runtime without reflect and macro.
License: MIT License
A scala slick plugin. Dynamically update columns in runtime without reflect and macro.
License: MIT License
尝试了一下,失败了。
Import JdbcDriver will bring some default funciton, if you use MysqlDriver, "id" will not change to id
.
目前 DynUpdate.update 这个函数时需要一个非空的 list 的,如果提交的是空 list,我希望可以返回一个没有数据库操作的空 DBIOAction,执行之后的影响行数是 0。
目前的 DynData 的实例的定义是: DynData(((s: SmallTable) => s.a1), 2333),有更加人性化的方法(例如在伴生对象添加一个初始化的方法)可以做到 DynData[SmallTable](_.a1, 2333) 或者做到 SmallTable 只需声明一次?
As submit slick/slick#1253 I know that update have no problem to import a jdbcProfile. So can remove the macro when use dynamic update.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.