All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.github.thunderz99.cosmos.condition.FieldKey Maven / Gradle / Ivy

There is a newer version: 0.7.11
Show newest version
package io.github.thunderz99.cosmos.condition;

import io.github.thunderz99.cosmos.dto.RecordData;

/**
 * A class representing a key of a json field. e.g. "name" for "c.name" or "address.country" for "c.address.country"
 *
 * 
 *     e.g. find documents where mail field does not equal mail2 field
 *     Condition.filter("mail !=", Condition.key("mail2"))
 * 
*/ public class FieldKey extends RecordData { public String keyName; public FieldKey(){ } public FieldKey(String keyName){ this.keyName = keyName; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy