Comments (1)
可以直接抛异常,或者三条判断分三个方法来做,一般抛异常就行了。
from imi.
Related Issues (20)
- 移除旧的枚举,独立旧枚举组件
- 支持 Redis 多种驱动,引入 predis
- 模型字段增加 `@getter`、`@setter` 注解,不用写方法
- 模型字段值初始化处理、保存前处理、序列化处理
- 连接池默认配置修改,更加适合实际使用场景 HOT 1
- Bean 类默认禁止递归,防止偶发报错
- 废弃注释注解,全面拥抱原生注解
- v2.1 中已经标记为 deprecated 的在 v3.0 废弃
- 重构注解类写法
- imi-pgsql的ReplaceBuilder生成update语句错误
- [3.0] 全面使用 PHP 8.1 强类型
- 优化CacheManager用法
- 热重启会重复触发AOP HOT 1
- 引入连接中心代替旧的连接管理和连接池
- 新增 PHP 8.3 测试
- 重构事件,基于类 PSR-14 的接口设计
- Fail imi-swoole-pgsql-raw with PHP 8.3 in Techempower benchmark HOT 2
- 软删除字段默认值为null查询报错 HOT 4
- 在imi3.0中建议增加框架命名的Exception HOT 1
- 使用easywechat包报错 swoole_curl_setopt(): CURLOPT_HTTP_VERSION[3] is not supported HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from imi.