Phillip Couto
|
3f302ce5c5
Merge pull request #210 from relops/rebind
|
11 anni fa |
Chris Bannister
|
3340da4c1b
Merge pull request #215 from fmccann/TraceWriter
|
11 anni fa |
Fred McCann
|
8a78b623a9
alter NewTraceWriter to return a pointer - go vet was complaining about passing traceWriter's mutex by value
|
11 anni fa |
Ben Hood
|
86ea4afdc6
Merge remote-tracking branch 'upstream/master' into rebind
|
11 anni fa |
Ben Hood
|
fbe049b861
Updated documentation to reflect new API
|
11 anni fa |
Ben Hood
|
ccd93d8b58
s/Rebind/Bind/ and implement the test with an initial Bind() style, since we are not changing the Query() API and already have tests for it
|
11 anni fa |
Chris Bannister
|
c78c7ab06d
Add LocalOne consistency
|
11 anni fa |
Ben Hood
|
498723db83
First shot at sketching out query rebinding
|
11 anni fa |
Ben Hood
|
1113314503
Added godocs
|
11 anni fa |
Ben Hood
|
f71c8bb773
The binding callback can now return an error, which will in turn bubble up to the app
|
11 anni fa |
Ben Hood
|
85fd5630d7
Added Bind() to Batch interface
|
11 anni fa |
Ben Hood
|
5be3fcc634
Alternative attempt to expose query binding meta data to the application
|
11 anni fa |
Jacob Rhoden
|
0c59375361
Add note about query being auto-prepared to Query() function
|
11 anni fa |
Gibheer
|
05273d5b6f
export consistency names
|
11 anni fa |
Phillip Couto
|
06eb28df61
Rebased branch. Fixed code that was altered from the rebase.
|
11 anni fa |
Phillip Couto
|
3783dd1c40
Created the Connection Pool interface and converted the existing connection pool logic to a SimplePool interface.
|
11 anni fa |
Chris Bannister
|
76d52012e9
Remove redundant iter nil check
|
11 anni fa |
Chris Bannister
|
09e353bbec
Use defer to unlock in session.go
|
11 anni fa |
Chris Bannister
|
ef525ee05c
Use better error messages instead of ErrUnavailable
|
11 anni fa |
mihasya
|
818bd933bd
provide some details when encountering a protocol error
|
11 anni fa |
Harpreet Sawhney
|
e2550da4d8
un exporting the shouldQuery method
|
11 anni fa |
Harpreet Sawhney
|
6ed2c7d73f
(cleanup) move shouldPrepare func to being a Query type method
|
11 anni fa |
Phillip Couto
|
f9a5343db1
Added check to prevent user from executing a use statement from an active session.
|
11 anni fa |
Phillip Couto
|
d4a853b532
Reduced BatchSizeMaximum by 1 as 65535 is the true maximum. More than this number in statements to execute will cause the batch to fail.
|
11 anni fa |
Phillip Couto
|
538e98db31
Added Size method to batch type so when building a batch statement the user can avoid the maximum limit. Also made the limit a exported constant.
|
11 anni fa |
Staņislavs Koikovs
|
6da46330bf
Updated documentation on iter.Scan()
|
11 anni fa |
Staņislavs Koikovs
|
e4b8bf756e
Merge remote-tracking branch 'upstream/master'
|
11 anni fa |
Phillip Couto
|
093f3395a1
Simplified session.executeQuery to use a pointer to Iter instead of creating a new object.
|
11 anni fa |
Phillip Couto
|
e2264bb7f8
Added retry policies for Query and Batch Statements. Policies can be defined at the cluster or per query. Added test cases for retries and added test case for batch statement limits.
|
11 anni fa |
Staņislavs Koikovs
|
4083742150
Revert changes and allow <nil> interfaces instead
|
12 anni fa |