I cannot find support for the hexadecimal blob constants datatype defined by 0xX+ where hex is an hexadecimal character. Is there any generator like GUID generator. I wrote my own BlobConstant generator for my project. Just wanted to know if FluentCassandra has it.
Sure. Will complete it.
added support for blob constant when working with binary data in CQL3…
…. close #133
@tharigopl the code used for adding the appropriate blob constants in CQL3 can be found in the CqlHelper class. From the CqlHelperTest:
public void EscapeBytesForCqlTest()
var bytes = Encoding.UTF8.GetBytes("hello world");
var expectedHex = "0x68656c6c6f20776f726c64"; //generated via the textAsBlob function in CQL3 shell
var hex = CqlHelper.EscapeForCql(bytes);