获取波斯菊中针对文档db的重复记录 [英] Get the duplicate records against document db in cosmos

查看:71
本文介绍了获取波斯菊中针对文档db的重复记录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,

是否可以通过 groupby/g, < g class ="gr_ gr_73 gr-alert gr_spell gr_inline_cards gr_run_anim ContextualSpelling ins-del multiReplace" data-gr-id ="73". id ="73">行数/g,具有<g class ="gr_gr_87gr-alert gr_spell gr_inline_cards" gr_run_anim ContextualSpelling ins-del multiReplace". data-gr-id ="87". id ="87" aggreate/g.功能.我知道我们< g class ="gr_ gr_123 gr-alert gr_spell gr_inline_cards gr_run_anim ContextualSpelling ins-del multiReplace" data-gr-id ="123". id ="123"> dont/g.具有< g class =" gr_ gr_163 gr-alert gr_gramm gr_inline_cards gr_run_anim仅语法in-double doubleReplaceWithoutSep data-gr-id ="163" id ="163"> group . 通过在宇宙中的关键.还有其他写Javascript来获取记录的方式吗?是否可以 some 一个/g提取记录的指南,我的要求是删除较旧的重复记录.

Is there any way to get the list of duplicate records from a particular collection in cosmos like in SQL with <g class="gr_ gr_74 gr-alert gr_spell gr_inline_cards gr_run_anim ContextualSpelling" data-gr-id="74" id="74">groupby</g>, <g class="gr_ gr_73 gr-alert gr_spell gr_inline_cards gr_run_anim ContextualSpelling ins-del multiReplace" data-gr-id="73" id="73">rownumber</g>, having <g class="gr_ gr_87 gr-alert gr_spell gr_inline_cards gr_run_anim ContextualSpelling ins-del multiReplace" data-gr-id="87" id="87">aggreate</g> functions. I know we <g class="gr_ gr_123 gr-alert gr_spell gr_inline_cards gr_run_anim ContextualSpelling ins-del multiReplace" data-gr-id="123" id="123">dont</g> have <g class="gr_ gr_163 gr-alert gr_gramm gr_inline_cards gr_run_anim Grammar only-ins doubleReplace replaceWithoutSep" data-gr-id="163" id="163">group</g> by key in cosmos. Is there any other way to write Javascript to fetch the records? Could <g class="gr_ gr_282 gr-alert gr_spell gr_inline_cards gr_run_anim ContextualSpelling ins-del" data-gr-id="282" id="282">some one</g> guide to fetch the records, my requirement is to delete the older duplicate records.

推荐答案

团队

有没有办法得到来自宇宙中特定集合的重复记录列表,例如带有groupby的具有功能的SQL. 我知道我们在波斯菊中没有groupby钥匙.还有其他写Javascript来获取记录的方式吗?有人可以指导提取记录,我的要求是删除较旧的重复记录.

Is there any way to get the list of duplicate records from a particular collection in cosmos like in SQL with groupby, having functions. I know we don't have a groupby key in cosmos. Is there any other way to write Javascript to fetch the records? Could someone guide to fetch the records, my requirement is to delete the older duplicate records.

您好Sabarishv6,

Hi Sabarishv6, 

您使用哪个CosmosDb API ??

which CosmosDb API you use ?? 


这篇关于获取波斯菊中针对文档db的重复记录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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