获取波斯菊中针对文档db的重复记录 [英] Get the duplicate records against document db in cosmos
问题描述
您好,
是否可以通过
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屋!