Skip to content
This repository has been archived by the owner on Aug 25, 2018. It is now read-only.

Add new method result::column_decimal_digits #202

Merged
merged 1 commit into from
Aug 17, 2016
Merged

Add new method result::column_decimal_digits #202

merged 1 commit into from
Aug 17, 2016

Conversation

mloskot
Copy link
Contributor

@mloskot mloskot commented Aug 17, 2016

Add new method result::column_decimal_digits.
Add test for properties of result column descriptor.
Add missing overloads to access column properties by column name.
Re-arrange order of result and result_impl methods.


Question regarding the result::column* methods:
Some of them are overloaded for both, name and index, (e.g. column_datatype) while some are not (e.g. column_size). Do we want to unify the interface, provide overloaded variants for all or remove the overloads for name?

@mloskot mloskot changed the title Add new method result::column_decimal_digits Add new method result::column_decimal_digits Aug 17, 2016
@lexicalunit
Copy link
Owner

Nice! 👍

@lexicalunit
Copy link
Owner

As for the column_size and column_datatype overloads. My intent was to always provide both overrides in all cases so users could decide if they wanted to refer to columns by name or number.

Add test for properties of result column descriptor.
Add missing overloads to access column properties by column name.
Re-arrange order of result and result_impl methods.
@mloskot
Copy link
Contributor Author

mloskot commented Aug 17, 2016

Cool, I have updated the commit with the missing overloads.

@mloskot mloskot merged commit 5a0e24e into lexicalunit:master Aug 17, 2016
@mloskot mloskot deleted the ml/expose-result-column-scale branch August 17, 2016 17:06
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants