核心SQL添加额外的列 [英] Core SQL Add extra columns

查看:59
本文介绍了核心SQL添加额外的列的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我在Core SQl帐户中创建一个新文档到数据库集合时,它会在我的json中创建一些额外的属性:

when I create a new document to a database collection within a Core SQl account, it creates some extra properties within my json :

创建的属性是: 

the created properties are : 


" _rid"
" lvRpAMC5Y + oBAAAAAAAAAA =="

推荐答案

使用Core SQL API,系统生成的属性默认创建,无法避免。使用其他API可以避免生成这些属性。

With Core SQL API, the system generated properties are by default created and cannot be avoided. With you use other APIs in which these properties can be avoided from generating.

参考文档:
https://docs.microsoft.com/en-us/azure/cosmos- db / databases-containers-items#system-vs-user-defined-resources

希望它有所帮助。


这篇关于核心SQL添加额外的列的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆