Top "Peewee" questions

peewee is a small ORM written in Python, providing a lightweight querying interface over SQL.

Python peewee joins multiple tables

I want to be able to join multiple tables in peewee. However the scenario is a little difficult for me …

python join foreign-keys peewee
Python Flask: AttributeError: 'NoneType' object has no attribute 'is_active'

Using the Flask Mega Tutorial I'm trying to learn Flask. In part 5 of the tutorial I'm now building a profile …

python attributes flask attributeerror peewee
peewee vs sqlalchemy performance

I have 2 simple scripts: from sqlalchemy import create_engine, ForeignKey, Table from sqlalchemy import Column, Date, Integer, String, DateTime, BigInteger, …

python sqlalchemy peewee
python peewee - how to use distinct

I'm trying to get this code working with peewee: distinct_list = QSales.select(QSales.account, QSales.tax_code).distinct().where(…

python-2.7 peewee
String matching in Peewee (SQL)

I am trying to query in Peewee with results that should have a specific substring in them. For instance, if …

sql peewee
How to do query with `WHERE value IN list` in the Python Peewee ORM?

I'm using the (awesome) Python Peewee ORM for my Flask project, but I now got stuck trying to do a …

python orm flask peewee
How to use Update query in Flask Peewee?

Hi I am using Flask Peewee and trying to update merchant_details model but it is not working. Following is …

python flask models flask-wtforms peewee
How to get sql query from peewee?

Simple peewee example: MySQL DB "Pet" with autoincrement "id" and char-field "name". Doing my_pet = Pet.select().where(name == 'Garfield') …

python python-3.x peewee
Auto_increment custom Primary Key in Peewee model

I want a primary key id field to be Bigint class Tweets(Model): id = BigIntegerField(primary_key=True) ... But it …

python mysql peewee