added faq, needs formatting

This commit is contained in:
Jon Haddad
2014-06-26 19:37:14 -07:00
parent 96d91793eb
commit e824a23936
2 changed files with 11 additions and 0 deletions

View File

@@ -523,6 +523,10 @@ class SelectStatement(BaseCQLStatement):
limit=None,
allow_filtering=False):
"""
:param where
:type where list of cqlengine.statements.WhereClause
"""
super(SelectStatement, self).__init__(
table,
consistency=consistency,

7
docs/topics/faq.rst Normal file
View File

@@ -0,0 +1,7 @@
==========================
Frequently Asked Questions
==========================
Q: Why does calling my Model(field=blah, field2=blah2) not work?
A: The __init__() of a model is used by cqlengine internally. If you want to create a new row in the database, use create().