-
I am currently trying to adapt this to working with an sqlite database using peewee ORM. First thing I did was trying to use it without altering the code, just dumping the whole database with about 10…
-
Me and @johan-bjareholt have had some discussion about this since it's something we'd need if we want to change the database schema between versions once we have real users.
I looked around for mi…
-
https://github.com/nakkaa/hato-bot/blob/develop/library/database.py はpylintに怒られない程度に共通化しているだけですが、SQLを実行する部分をexecute_sqlに寄せるなど、もう少し良い感じに共通化します。
-
why orm we can used?
-
## ptyhon 官方 Wiki 列表:
- https://wiki.python.org/moin/WebFrameworks
## python aio libs:
### db:
- https://github.com/timofurrer/awesome-asyncio#database-drivers
### mq:
- https://gith…
-
Peewee allows you to do this, by passing `None` to `__init__`:
``` python
from peewee import *
db = SqliteDatabase(None)
db.init('a.db')
```
Flask-SQLAlchemy too, by leaving out the `app` argument:
…
xiaq updated
10 years ago
-
Hi, nice work! I was curious though, was there any thoughts as to using a database backend e.g. SQL, postgres, mongoDB to hold the plate info and results. You could then just have a view of all histor…
-
Consider the following table and data
```
CREATE TABLE IF NOT EXISTS `person` (`id` INTEGER AUTO_INCREMENT NOT NULL PRIMARY KEY, `name` VARCHAR(255) NOT NULL);
INSERT INTO `person` (`name`) VALUE…
-
We should support https://dev.mysql.com/doc/refman/8.0/en/do.html as per the mysql specs
-