jsonb的显示过滤器结果不正确

时间:2020-09-04 15:38:14

标签: postgresql-9.5

列类型: jsonb

这里是json的一部分

using System;
  using NUnit.Framework;
namespace Automation_Test
{

   [SetUpFixture]
  public class AssemblyInitializer
  {
    [OneTimeSetUp]
    public static void LoginSystem()
    { /* ... */ }

    [OneTimeTearDown] <---- This method is getting trigger first when i run the test instead of onetimesetup
    public static void AssemblyCleanup()
    { /* ... */ }

  
  }
}

当权重不相等时,我不显示记录。在此示例中,必须不显示,因为两个节点中的 weight = 300

此处查询

{

    "weight": {
        "qty": 300,
        "unit": {
            "name": "gram"
           }
        }
    },
...
        {
            "name": "weight",
            "title": {
                "en": "Weight",
            },
            "value": {
                "name": "300g"
            }
        }
],

但是这里结果 enter image description here

为什么显示带有 300 的记录?它不能显示。 附言如您所见,另一条记录也不正确。它不能显示。

0 个答案:

没有答案