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: [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]