Reputation: 79309
I've a Table
called journals
in SqlAlchemy that has one of the following Columns:
Column('type', String(128))
Then I've mapper
that maps journals
to Journals
python class:
mapper(Journals, journals);
I want to insert a new row in journals
and set type
to NULL
.
What would be the corresponding Python type to NULL?
Here's example:
self.type = NULL;
There is no NULL
type in Python so I don't know how to do it.
Upvotes: 0
Views: 7353