jameshartig commented on code in PR #1837:
URL: 
https://github.com/apache/cassandra-gocql-driver/pull/1837#discussion_r1936639791


##########
frame.go:
##########
@@ -253,13 +262,21 @@ func (c *Consistency) UnmarshalText(text []byte) error {
                *c = EachQuorum
        case "LOCAL_ONE":
                *c = LocalOne
+       case "SERIAL":
+               *c = Serial
+       case "LOCAL_SERIAL":
+               *c = LocalSerial
        default:
                return fmt.Errorf("invalid consistency %q", string(text))
        }
 
        return nil
 }
 
+func (c Consistency) IsSerial() bool {

Review Comment:
   If there isn't a reason for this to be public, let's keep it private.



-- 
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: pr-unsubscr...@cassandra.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: pr-unsubscr...@cassandra.apache.org
For additional commands, e-mail: pr-h...@cassandra.apache.org

Reply via email to