Pragma表格的对象盒
我正在为flutter项目使用对象盒。我想获得我的产品实体的Pragma表信息。任何人都知道如何获得特定实体的巴格马吗?
与SQLite pragma Table_info('相册');
一样,
cid name type notnull dflt_value pk
--- -------- ------------- ------- ---------- --
0 AlbumId INTEGER 1 1
1 Title NVARCHAR(160) 1 0
2 ArtistId INTEGER 1 0
我们可以获取表详细信息。我想要对象盒中的相同。
I am using ObjectBox for the flutter project. I want to get the pragma table info for the my Product Entity. Anyone know how to get the pragma for particular Entity?
Like in sqlite pragma table_info('albums');
cid name type notnull dflt_value pk
--- -------- ------------- ------- ---------- --
0 AlbumId INTEGER 1 1
1 Title NVARCHAR(160) 1 0
2 ArtistId INTEGER 1 0
we can get the table details. I want same in ObjectBox.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论