<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>数据库 on 伊特瑞特</title>
    <link>https://loveav.cn/tags/%E6%95%B0%E6%8D%AE%E5%BA%93/</link>
    <description>Recent content in 数据库 on 伊特瑞特</description>
    <image>
      <title>伊特瑞特</title>
      <url>https://loveav.cn/%3Clink%20or%20path%20of%20image%20for%20opengraph,%20twitter-cards%3E</url>
      <link>https://loveav.cn/%3Clink%20or%20path%20of%20image%20for%20opengraph,%20twitter-cards%3E</link>
    </image>
    <generator>Hugo -- 0.134.3</generator>
    <language>zh-cn</language>
    <lastBuildDate>Tue, 24 Dec 2024 06:30:00 +0800</lastBuildDate>
    <atom:link href="https://loveav.cn/tags/%E6%95%B0%E6%8D%AE%E5%BA%93/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>ObjectBox数据库实体类重命名或修改字段解决方案</title>
      <link>https://loveav.cn/posts/tech/objectbox-upgrade/</link>
      <pubDate>Tue, 24 Dec 2024 06:30:00 +0800</pubDate>
      <guid>https://loveav.cn/posts/tech/objectbox-upgrade/</guid>
      <description>&lt;h3 id=&#34;数据模型更新&#34;&gt;数据模型更新&lt;/h3&gt;
&lt;p&gt;2024年6月27日14:49:07
ObjectBox - 数据模型更新&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;UIDs&lt;/li&gt;
&lt;li&gt;重命名实体和属性
&lt;ul&gt;
&lt;li&gt;Java/Kotlin和Dart的操作方法与示例&lt;/li&gt;
&lt;li&gt;Python的操作方法与示例&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;更改属性类型
&lt;ul&gt;
&lt;li&gt;操作方法与示例&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;数据模型更新-1&#34;&gt;数据模型更新&lt;/h3&gt;
&lt;p&gt;如何在ObjectBox中重命名实体和属性、更改属性类型。
ObjectBox - 数据模型更新
ObjectBox主要自动管理其数据模型（模式）。数据模型由你定义的实体类来定义。当你添加或删除实体或实体的属性时，ObjectBox会处理这些更改，无需你采取进一步行动。
对于其他更改，如重命名或更改类型，ObjectBox需要额外信息来使事情明确。这是通过设置唯一ID（UIDs）作为注释来完成的，如下所示。&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
