I tried this code.
There are two objects in it.
The second is just a new created one to check if everything goes right.
It appears in the sqlite database.
The first object is from the old PostgreSQL database. But it doesn't
appear in the new sqlite database. There even is no error output and
now
Forget the old code. I needed to use make_transient()
This example code work nearly fine (FOREIGN KEY constraints not used in
sqlite)
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
import sqlalchemy as sa
import sqlalchemy.ext.declarative as sad
import sqlalchemy.orm as sao
import
Could it be possible to use SQLAlchemy with Python3 to convert a
PostgreSQL database to a sqlite one?
--
You received this message because you are subscribed to the Google Groups
sqlalchemy group.
To unsubscribe from this group and stop receiving emails from it, send an email
to