View Source SurrealEx.Conn (SurrealEx v0.2.0)
Documentation for SurrealEx.Conn
.
Design Notes: It is interesting can pipe actions (even diferente SQLs) and can control easily the flow depending if the database answer was sucessfully or not.
config |> sql(..query..) |> when_ok_sql(..query..) |> when_ok(..callback..) |> when_error(..callback..)