We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b122859 commit fbeeecfCopy full SHA for fbeeecf
client/client.go
@@ -40,8 +40,8 @@ func (c *Client) DeleteStream(chrono string, stream string) error {
40
return nil
41
}
42
43
-func (c *Client) WriteEvent(chrono string, stream string, event string) error {
44
- command := "INSERT " + event + " INTO " + stream
+func (c *Client) WriteEvent(stream string, event string) error {
+ command := "INSERT INTO " + stream + " VALUES " + event
45
if response, err := c.conn.Execute(command); err != nil || response != "OK" {
46
return fmt.Errorf("write failed: %v", err)
47
0 commit comments