Documentation for stdnet 0.8.2. For development docs, go here.

Backend Servers

Behind the scenes we have the database. Currently stdnet supports Redis and mongoDB.

Backends

A backend instance is usually obtained via the getdb() function by passing a valid connection string:

from pulsar import getdb

b1 = getdb('redis://127.0.0.1:9739?db=7&namespace=test.')
b2 = getdb('mongo://127.0.0.1:9739?db=test)

Check redis connection strings for a full list of valid parameters.

Table Of Contents

Previous topic

Local Models

Next topic

API

This Page