Example usage for io.vertx.pgclient PgConnectOptions addProperty

List of usage examples for io.vertx.pgclient PgConnectOptions addProperty

Introduction

In this page you can find the example usage for io.vertx.pgclient PgConnectOptions addProperty.

Prototype

@GenIgnore
    @Override
    public PgConnectOptions addProperty(String key, String value) 

Source Link

Usage

From source file:examples.PgClientExamples.java

License:Apache License

public void configureDefaultSchema() {
    // Data object
    PgConnectOptions connectOptions = new PgConnectOptions();

    // Set the default schema
    connectOptions.addProperty("search_path", "myschema");
}