具有映射到blob / text sql字段的属性的实体(Entity with properties mapped on blob/text sql field)

编程入门 行业动态 更新时间:2024-10-27 10:31:05
具有映射到blob / text sql字段的属性的实体(Entity with properties mapped on blob/text sql field)

我有一个实体(taht扩展Drupal \ Core \ Entity \ ContentEntityBase)。 我尝试在blob或文本mysql字段上映射此实体的某些属性。

在文档中,我看不到必须放入BaseFieldDefinition :: create(VALUE ???)中的任何值。

也许这是不可能的?

I Have an entity (taht extends Drupal\Core\Entity\ContentEntityBase). I try to map some property of this entity on blob or text mysql field.

In the documentation, I don't see wichh value I have to put in BaseFieldDefinition::create(VALUE ???).

Maybe it's not possible ??

最满意答案

核心字段类型: 布尔 变 评论 创建 约会时间 十进制 电子邮件 ENTITY_REFERENCE 文件 浮动 图片 整数 语言 链接 list_float list_integer list_string 地图 密码 路径 串 string_long 电话 文本 text_long text_with_summary 时间戳 URI UUID

记录在这里

Core field types: boolean changed comment created datetime decimal email entity_reference file float image integer language link list_float list_integer list_string map password path string string_long telephone text text_long text_with_summary timestamp uri uuid

Documented HERE

更多推荐

本文发布于:2023-08-07 21:26:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1466138.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:字段   实体   属性   sql   blob

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!