class PostgresSchema {

    public static void insert(final QueryStatement statement, final CollectionName collection) throws QueryBuildException {
        try {
            Writer body = statement.getBodyWriter();
            body.write("INSERT INTO ");
            body.write(collection.toString());
            body.write(" (");
            body.write(DOCUMENT_COLUMN);
            body.write(") VALUES (?::jsonb)");
        } catch (IOException e) {
            throw new QueryBuildException("Failed to build insert body", e);
        }
    }

    private  PostgresSchema();

}