close
Skip to content

Typo in embedded server documentation #875

@laurenskvh

Description

@laurenskvh

In the "accessing the rethinkdb r object" section the code says:

horizonServer._reql_conn.read().then((reql_conn) => {
    var doc = r.db('horizon').table('users').get(3).run(reql_conn.connection());
});

the read() is wrong as it should say ready()

This is rather confusing as read() looks like a perfectly valid method.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions