Skip to content
This repository was archived by the owner on Aug 4, 2020. It is now read-only.

Add List, Set and Map types #146

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

Add List, Set and Map types #146

wants to merge 3 commits into from

Conversation

riekelt
Copy link

@riekelt riekelt commented Feb 4, 2014

No description provided.

@thobbs
Copy link
Owner

thobbs commented Feb 5, 2014

Thanks! I suppose you're running this directly on execute_cql3_query results?

Would you mind adding a couple of unit tests to exercise these?

@papaonlegs
Copy link

Any news on this?

$total = self::readUInt16BE($data,$offset);
$offset += 2;

$items = [];

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can't do this in 5.3.

@papaonlegs
Copy link

bump

@thobbs
Copy link
Owner

thobbs commented May 15, 2015

@papaonlegs If you want to work with Cassandra's collection types, I strongly suggest using the DataStax PHP Driver.

@derekchan
Copy link

@thobbs do you know when the new driver will be stable enough for production? We want to use "execute_cql3_query" of phpcassa but that appears to be undocumented / unsupported.

The current release is an early alpha. This means that it lacks some features and stability, but should be enough to start testing and working with Apache Cassandra.

@thobbs
Copy link
Owner

thobbs commented May 19, 2015

@derekchan I do not, but it's worth noting that the PHP driver is built on top of the C++ driver, which is stable and is currently on version 2.0. Additionally, the author of the PHP driver is very responsive to bug reports, so if you do encounter any problems they should be fixed relatively quickly.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants