Svoka / GQLQueryBuilder

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GQLQueryBuilder

Build graphQL query string

How to use

The use is quite simple, just write something like

 String graphQLQueryString  = 
                new GQLQueryBuilder().addObject(
                new GQLObject("publications")
                        .addParam("isArchived",true)
                        .addField("title")
                        .addField("text")
                        .addField(
                                new GQLObject("author")
                                        .setNeedNode(false)
                                        .addField("firstName")
                                        .addField("lasttName")
                        )
        ).build();

About


Languages

Language:Java 100.0%