diff options
author | Venugopal Shivashankar <Venugopal.Shivashankar@qt.io> | 2019-09-17 15:22:21 +0200 |
---|---|---|
committer | Venugopal Shivashankar <Venugopal.Shivashankar@qt.io> | 2019-09-20 06:54:55 +0200 |
commit | f8d7efd45cb0e25a513248e3a9ce24eda3afb1bd (patch) | |
tree | 5d6cbcfa8a3a99dca6be71ae74b5a954be157429 /examples/opengl/opengl.pyproject | |
parent | 833e2e1dde7c2f4de281c177e42e737b6865cdde (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 'examples/opengl/opengl.pyproject')
0 files changed, 0 insertions, 0 deletions