class Meta: idf = IDFormatter('{exchange}_{symbol}_{quote_type}_{quote_at}') idx1 = Index(['exchange', 'symbol', 'quote_type', 'quote_at'], unique=True) idx2 = Index(['exchange', 'quote_at'])
class Meta: idf = IDFormatter('{user_id}_{date}') idx1 = Index(['user_id', 'date'], unique=True)
class Meta: idf = IDFormatter('{exchange}_{login_name}') idx1 = Index(['investor', 'exchange'], unique=True) idx2 = Index(['exchange', 'login_name'], unique=True) idx3 = Index('user')
class Meta: idf = IDFormatter('{mobile}') idx1 = Index('mobile', unique=True) idx2 = Index('_is_admin') idx3 = Index('_is_active') idx4 = Index('username', unique=True)
class Meta: idf = IDFormatter(next_id) idx1 = Index('name')
class Meta: idf = IDFormatter('{id_number}') idx1 = Index(['user', 'order'], unique=True)
class Meta: idf = IDFormatter('{exchange}_{symbol}') idx1 = Index(['exchange', 'symbol'], unique=True) idx2 = Index('from_url')
class Meta: idf = IDFormatter('{exchange}_{symbol}')
class Meta: idf = IDFormatter('{access_token}') idx1 = Index('expires_at', expireAfterSeconds=7200)
class Meta: idf = IDFormatter('{url}') idx1 = Index('url', unique=True) idx2 = Index(['updated_at', 'type_']) idx3 = Index(['published_at', 'type_']) idx4 = Index(['exchange', 'type_'])
class Meta: idf = IDFormatter('{exchange}_{user}_{collection}') idx1 = Index('exchange') idx2 = Index('user') idx3 = Index('collection')
class Meta: idf = IDFormatter('{account}_{date}') idx1 = Index(['account', 'date'], unique=True)
class Meta: idf = IDFormatter('{user}_{exchange}_{login_name}')
class Meta: idf = IDFormatter('{mobile}') idx1 = Index('mobile', unique=True) idx2 = Index('username')
class Meta: idf = IDFormatter('{abbr}') idx1 = Index('abbr', unique=True)
class Meta: idf = IDFormatter('{user_id}_{login_name}')
class Meta: idf = IDFormatter('{name}')