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
sequelize 文档版本 v6
sequelize 目录章节 获取器, 设置器 & 虚拟字段
反馈描述 我定义了一个模型,在模型中定义了一个虚拟字段age,设置了获取器,还有一个brithday字段,也设置了获取器,但是,这两个属性的get函数在我调用模型的findAndCountAl方法l查询表数据的时候,都未主动调用,我以为是我配置的问题,但是我手动调用get时,这两个属性还是可以正常按照我的预期显示的,期间我尝试了初始化模型以及清除缓存,都无效,获取器除非主动调用,否则不会调用,这是为什么
The text was updated successfully, but these errors were encountered:
No branches or pull requests
sequelize 文档版本
v6
sequelize 目录章节
获取器, 设置器 & 虚拟字段
反馈描述
我定义了一个模型,在模型中定义了一个虚拟字段age,设置了获取器,还有一个brithday字段,也设置了获取器,但是,这两个属性的get函数在我调用模型的findAndCountAl方法l查询表数据的时候,都未主动调用,我以为是我配置的问题,但是我手动调用get时,这两个属性还是可以正常按照我的预期显示的,期间我尝试了初始化模型以及清除缓存,都无效,获取器除非主动调用,否则不会调用,这是为什么
The text was updated successfully, but these errors were encountered: