Fix typo in Readme
This commit is contained in:
parent
beed72e249
commit
f0a46e85ce
|
@ -34,7 +34,7 @@ So adding a feature like counters just requires teaching the CQL parser to under
|
|||
# Creating a column family with a single validated column
|
||||
db.execute("CREATE COLUMNFAMILY users (id varchar PRIMARY KEY, email varchar)")
|
||||
|
||||
# Create an index on the name
|
||||
# Create an index on the email
|
||||
db.execute("CREATE INDEX users_email_idx ON users (email)")
|
||||
|
||||
## Inserting into a Column Family
|
||||
|
@ -82,4 +82,4 @@ As of version 1.2.0, cassandra-cql only supports ruby >= 1.9.
|
|||
way (ie. blank strings with a column validated as Integer), a CastException will be raised.
|
||||
The exception has a 'bytes' attribute that will give you access to the bytes that caused the problem.
|
||||
|
||||
Other columns in a row can still be accessible via index or column_name without raising that exception.
|
||||
Other columns in a row can still be accessible via index or column_name without raising that exception.
|
||||
|
|
Loading…
Reference in New Issue