We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
开启模型自动把字段转驼峰功能的时候会不兼容某些用法 protected $convertNameToCamel = true;
protected $convertNameToCamel = true;
当手动把field 中字段定义别名是驼峰规则时,输出数据时字段一直是null 示例: ->field('name as categoryName') 结果该字段一直为null
->field('name as categoryName')
当 ->field('name as category_name') 时正常
->field('name as category_name')
The text was updated successfully, but these errors were encountered:
No branches or pull requests
开启模型自动把字段转驼峰功能的时候会不兼容某些用法
protected $convertNameToCamel = true;
当手动把field 中字段定义别名是驼峰规则时,输出数据时字段一直是null
示例:
->field('name as categoryName')
结果该字段一直为null当
->field('name as category_name')
时正常The text was updated successfully, but these errors were encountered: