Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add property similar to "description" to the DB wrapper #46

Open
Cito opened this issue Jun 20, 2020 · 0 comments
Open

Add property similar to "description" to the DB wrapper #46

Cito opened this issue Jun 20, 2020 · 0 comments
Milestone

Comments

@Cito
Copy link
Member

Cito commented Jun 20, 2020

In #39 we added a method fieldinfo() to the query in the classic module, which takes an optional field name or number. If nothing is specified, the field info for all fields of the query is returned.

This method is a bit low-level though, the provided information is pretty internal and difficult to interpret. On the DB wrapper class, we may want to add another higher-level method or property similar to the description attribute in the DB-API 2 module. This could be a little bit more informative and PostgreSQL-specific than the DB-API 2 description, but the idea would be the same. We could even reuse much of the code of the description property in the DB-API 2 since it is also based on a lower-level method similar to fieldinfo().

@Cito Cito added this to the 5.2.1 milestone Jun 20, 2020
@Cito Cito modified the milestones: 5.2.1, 5.3 Sep 25, 2020
@Cito Cito modified the milestones: 5.3, 6.1 Aug 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant