Skip to content

Get row#8

Open
michaltrmac wants to merge 8 commits into
aparkhomenko:masterfrom
michaltrmac:get_row
Open

Get row#8
michaltrmac wants to merge 8 commits into
aparkhomenko:masterfrom
michaltrmac:get_row

Conversation

@michaltrmac

Copy link
Copy Markdown
Contributor

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

@aparkhomenko

Copy link
Copy Markdown
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

bhelm commented Jan 15, 2015

Copy link
Copy Markdown

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
Copy Markdown
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