diff --git a/cqlengine/statements.py b/cqlengine/statements.py index 18434d23..549b529d 100644 --- a/cqlengine/statements.py +++ b/cqlengine/statements.py @@ -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, diff --git a/docs/topics/faq.rst b/docs/topics/faq.rst new file mode 100644 index 00000000..f0f98e45 --- /dev/null +++ b/docs/topics/faq.rst @@ -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().