Closed wangxin688 closed 3 months ago
cc: @adhtruong
I think this PR is ready for review now
Documentation preview will be available shortly at https://litestar-org.github.io/polyfactory-docs-preview/541
@all-contributors add @wangxin688 for code
@adhtruong
I've put up a pull request to add @wangxin688! :tada:
Description
Use Case: column use
server_default
to generate default value in database side. If we use asyncsession, and access this attribute from orm object, it will raisesqlalchemy.exc.MissingGreenlet
error. There are two ways to solve this issue.refresh
tocreate_async()
andcreate_batch_async()
and default value is False. it will depends user's input in creation object.