aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside2/libpyside/pyside.cpp
diff options
context:
space:
mode:
authorVenugopal Shivashankar <Venugopal.Shivashankar@qt.io>2019-09-17 15:22:21 +0200
committerVenugopal Shivashankar <Venugopal.Shivashankar@qt.io>2019-09-20 06:54:55 +0200
commitf8d7efd45cb0e25a513248e3a9ce24eda3afb1bd (patch)
tree5d6cbcfa8a3a99dca6be71ae74b5a954be157429 /sources/pyside2/libpyside/pyside.cpp
parent833e2e1dde7c2f4de281c177e42e737b6865cdde (diff)
Example: Replace date type with text for authors' birthdate
Apparently, SQLite does not have the 'date' type. Instead, 'text' type is recommended by its docs. Moreover, the python datetime object does not translate to an appropriate type in SQLite. So str() seems the right alternative for date at the moment. Change-Id: I246c0708e60469a0fb253d33bdf8ab506eece1c9 Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'sources/pyside2/libpyside/pyside.cpp')
0 files changed, 0 insertions, 0 deletions