bbotella commented on code in PR #3562:
URL: https://github.com/apache/cassandra/pull/3562#discussion_r1920448454


##########
doc/modules/cassandra/pages/developing/cql/constraints.adoc:
##########
@@ -0,0 +1,93 @@
+= Constraints
+
+Constraints provide a way of specifying and enforcing conditions at a
+column level in a table schema definition and enforcing them at write time.
+
+== CREATE CONSTRAINT
+
+Constraints can be created within the column definition, or as part
+of the table properties.
+
+The main syntaxis to define a constraint is as follows:
+
+[source,bnf]
+----
+CREATE TABLE keyspace.table (
+       name text,
+       i int CHECK (condition) (AND (condition))*

Review Comment:
   Heh, this is actually a good interesting point. I guess we as a community 
need a process around CEP amends on CEP implementation phase (I'm sure I'm not 
the only one that came up with modifications while implementing)



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to