Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TP全版本 中 thiink\db\Builder->parseData 方法需要改进 #1134

Open
tmkmk opened this issue Jul 12, 2023 · 0 comments
Open

TP全版本 中 thiink\db\Builder->parseData 方法需要改进 #1134

tmkmk opened this issue Jul 12, 2023 · 0 comments

Comments

@tmkmk
Copy link

tmkmk commented Jul 12, 2023

在此方法下
} elseif (is_array($val) && !empty($val)) { switch (strtoupper($val[0])) {
位置附近
1: 当$val[0] 不存在时,多数默认PHP配置 则会报错,希望增加一个isset()进行判定
2:也是此问题复现 当type定义非array 且 setXxxAttr 方法返回的是 对象时 理论上程序员想的应该是 直接json序列化存入.
希望能改进 或提供一下 自定义修改的方法.找了下配置信息,在公布的配置信息当中没有找到相关配置. 如果每次都需要修改的话比较麻烦.
希望能得到回应

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant