gpt4 book ai didi

php - 教义 2 + 无符号值

转载 作者:IT老高 更新时间:2023-10-28 12:01:11 26 4
gpt4 key购买 nike

是否可以在 Doctrine 2 中指定 unsigned integer 的列类型?

最佳答案

/** * @ORM\Column(name="id", type="integer", options={"unsigned"=true}) */

There is no place in the doc (that I've seen) that speak about this, but it works.

Update

Definition in Yaml (as of 2.4 for primary key)

id:
type: integer
options:
unsigned: true

关于php - 教义 2 + 无符号值,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7692686/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com