GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing rethinkdb.com — ReQL command reference - RethinkDB Command syntaxr.connect([options, ]callback) r.connect([host, ]callback) r.connect([options]) → promise r.connect([host]) → promise Description
Create a new connection to the database server. Accepts the following options:
If the connection cannot be established, a The returned connection object will have two properties on it containing the connection’s port and address: Using SSL with RethinkDB requires proxy software on the server, such as Nginx, HAProxy or an SSL tunnel. RethinkDB will encrypt traffic and verify the CA certification to prevent man-in-the-middle attacks. Consult your proxy’s documentation for more details. Alternatively, you may use RethinkDB’s built-in TLS support. Example: Open a connection using the default host and port, specifying the default database. If no callback is provided, a promise will be returned. Example: Open a new connection to the database. Alternatively, you can use promises. Example: Open a new connection to the database, specifying a user/password combination for authentication. Example: Open a new connection to the database using an SSL proxy. Related commandsGet more helpCouldn't find what you were looking for?
Contribute: edit this page or open an issue |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |