python-sqlite-orm
python-sqlite-orm copied to clipboard
A Python object relational mapper for SQLite
Traceback (most recent call last): File "files.py", line 25, in mydata = MyData(query=query,filename=a,lineNum=ln,lineText=part).save() File "C:\Users\User\AppData\Local\Programs\Python\Python38\lib\site-packages\o rm.py", line 158, in save return self.__class__.manager(type_check=type_check).save(self) File "C:\Users\User\AppData\Local\Programs\Python\Python38\lib\site-packages\o rm.py", line 172, in manager return...
Find a way to automatically generate schema for Models ``` python schema = ''' drop table if exists post; create table model_name ( id integer primary key autoincrement, ... );...
It would be great if fields could specify if they should be indexed.
with [pytest](pytest.org) and [tox](tox.readthedocs.org).
with [travis](https://travis-ci.org/).
with [coverage.py](http://coverage.readthedocs.org/)