From c7f6ba8a42944338ec3e7d6793383b5537dfd82a Mon Sep 17 00:00:00 2001 From: Jon Haddad Date: Tue, 27 Sep 2016 20:25:34 -0700 Subject: [PATCH] fixed typos in set example as well as UDT example --- doc/source/cql/types.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/source/cql/types.rst b/doc/source/cql/types.rst index e452f35f92..62e74ec1ec 100644 --- a/doc/source/cql/types.rst +++ b/doc/source/cql/types.rst @@ -281,7 +281,7 @@ A ``set`` is a (sorted) collection of unique values. You can define and insert a VALUES ('cat.jpg', 'jsmith', { 'pet', 'cute' }); // Replace the existing set entirely - UPDATE images SET tags = { 'kitten', 'cat', 'lol' } WHERE id = 'jsmith'; + UPDATE images SET tags = { 'kitten', 'cat', 'lol' } WHERE name = 'cat.jpg'; Further, sets support: @@ -388,7 +388,7 @@ type, including collections or other UDT. For instance:: CREATE TYPE address ( street text, city text, - zip int, + zip text, phones map ) @@ -426,7 +426,7 @@ For instance, one could insert into the table define in the previous section usi zip: '20500', phones: { 'cell' : { country_code: 1, number: '202 456-1111' }, 'landline' : { country_code: 1, number: '...' } } - } + }, 'work' : { street: '1600 Pennsylvania Ave NW', city: 'Washington',