Jamie Gaskins
Jamie Gaskins
This is a rough sketch for query pipelining support. Pipelined queries in most DBs are implemented as: 1. Do all the serialization of the queries, including parameters, over the wire...
This PR actually adds a few different things: - The concept of handling extensions - An API to register those extensions to prepare new connections for them - Connection-specific decoders,...
Using a fresh RVM-installed JRuby on a fresh JDK 1.8 installation on OS X Mavericks, I received this error: ``` ➜ Code mirah fib.mirah java/lang/reflect/Constructor.java:408:in `newInstance': java.lang.IllegalArgumentException from /Users/jamie/.rvm/gems/jruby-1.7.13/gems/bitescript-0.1.4/lib/bitescript/mirror.rb:208:in `load'...
Adding TLS/SSL support to network clients in Crystal is usually as simple as wrapping a `Socket` in an `OpenSSL::SSL::Context::Client`. In this case, I also had to change the types of...
## Feature Request Given this code: ```crystal def method_that_only_returns_nil : Nil # literally anything end def success! end if method_that_only_returns_nil success! end ``` Checking for truthiness of the return value...
This is very much a WIP (it doesn't even compile yet for `make std_spec`), but the intent here is to implement #12238. Since `Process` and `Signal` currently depend on the...
I often want one or more properties of my DB-backed models to be constrained to a low-cardinality set of values, which can be known at compile time. Usually I end...
If you open a transaction inside a method and `return` from that method, the transaction remains open. Seems [this `else`](https://github.com/crystal-lang/crystal-db/blob/v0.11.0/src/db/begin_transaction.cr#L32-L35) doesn't get invoked on a `return`. Reproduction: ```crystal require "db"...
I [posted a while back on the forum](https://forum.crystal-lang.org/t/db-serializable-with-join/2002) asking whether something like the following was possible: ```crystal db.query_all
Various JSONPath implementations provide a way to get the length of an array but it doesn't appear that RedisJSON does. Unfortunately I can't use `JSON.ARRLEN` for this purpose since I'm...