JSON_CONTAINS,JSON_CONTAINS_PATH

最后更新:2024-09-08 05:30:01 | 状态:未完成
        ConfigStore configs = new DefaultConfigStore();
        configs.and(Compare.JSON_CONTAINS, "CODES>$.A", 11);
        set = service.querys(table, configs);
        System.out.println(set.toJSON());

        configs = new DefaultConfigStore();
        configs.and(Compare.JSON_CONTAINS, "CODES>$.C", "张三");
        set = service.querys(table, configs);
        System.out.println(set.toJSON());


        configs = new DefaultConfigStore();
        configs.and(Compare.JSON_CONTAINS_PATH_AND, "CODES", "$.A");
        set = service.querys(table, configs);
        System.out.println(set.toJSON());

        configs = new DefaultConfigStore();
        configs.and(Compare.JSON_CONTAINS_PATH_OR, "CODES", "$.A,$.B".split(","));
        set = service.querys(table, configs);
        System.out.println(set.toJSON());

        configs = new DefaultConfigStore();
        configs.and(Compare.JSON_CONTAINS_PATH_AND, "CODES", "$.A,$.B,$.C".split(","));
        set = service.querys(table, configs);
        System.out.println(set.toJSON());
首页 最近更新 搜索 提交 回复