Skip to content

Get row #8

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

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open

Get row #8

wants to merge 8 commits into from

Conversation

michaltrmac
Copy link
Contributor

Get complete row as associative array if no arguments for CqlResult->get method is specified.
Merged with fixed supported types.

@aparkhomenko
Copy link
Owner

Hi @michaltrmac

I don't get it why do you think this functional need? :)
Can you please give me some example when do you think it will be good idea.

Thanks.

@bhelm
Copy link

bhelm commented Jan 15, 2015

i want this function too just for var_dumping the result without needing to specify every possible column. it can also be useful for serialization. database structures can change.

@michaltrmac
Copy link
Contributor Author

Like @bhelm said it's good for var_dumping or in situation where you don't know number / names of columns.
I am writting cassandra lib based on your driver and i need this functionality for methods like result->fetchAll, result->fetchAssoc etc.

m.

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

Successfully merging this pull request may close these issues.

3 participants