March 2003
Intermediate to advanced
656 pages
39h 30m
English
description
A read-only attribute that is a sequence of seven-item tuples, one per column in the last query executed:
name,typecode,displaysize,internalsize,precision,scale,nullable
c
.description is
None if the last operation on
c was not a query or returned no usable
description of the columns involved. A cursor’s
description is mostly useful for introspection about the database
your program is working with. Such introspection can help you write
general modules that are able to work with databases that have
different schemas, including schemas that may not be fully known at
the time you are writing your code.
Read now
Unlock full access