Jacob Rhoden
|
0c59375361
Add note about query being auto-prepared to Query() function
|
пре 11 година |
Gibheer
|
05273d5b6f
export consistency names
|
пре 11 година |
Phillip Couto
|
06eb28df61
Rebased branch. Fixed code that was altered from the rebase.
|
пре 11 година |
Phillip Couto
|
3783dd1c40
Created the Connection Pool interface and converted the existing connection pool logic to a SimplePool interface.
|
пре 11 година |
Chris Bannister
|
76d52012e9
Remove redundant iter nil check
|
пре 11 година |
Chris Bannister
|
09e353bbec
Use defer to unlock in session.go
|
пре 11 година |
Chris Bannister
|
ef525ee05c
Use better error messages instead of ErrUnavailable
|
пре 11 година |
mihasya
|
818bd933bd
provide some details when encountering a protocol error
|
пре 11 година |
Harpreet Sawhney
|
e2550da4d8
un exporting the shouldQuery method
|
пре 11 година |
Harpreet Sawhney
|
6ed2c7d73f
(cleanup) move shouldPrepare func to being a Query type method
|
пре 11 година |
Phillip Couto
|
f9a5343db1
Added check to prevent user from executing a use statement from an active session.
|
пре 11 година |
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 година |
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 година |
Staņislavs Koikovs
|
6da46330bf
Updated documentation on iter.Scan()
|
пре 11 година |
Staņislavs Koikovs
|
e4b8bf756e
Merge remote-tracking branch 'upstream/master'
|
пре 11 година |
Phillip Couto
|
093f3395a1
Simplified session.executeQuery to use a pointer to Iter instead of creating a new object.
|
пре 11 година |
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 година |
Staņislavs Koikovs
|
4083742150
Revert changes and allow <nil> interfaces instead
|
пре 12 година |
Staņislavs Koikovs
|
effe8de7bf
Allow variable number of arguments for iter.Scan()
|
пре 12 година |
Christoph Hack
|
9be9717d49
docs: document typical usage of a session object
|
пре 12 година |
Christoph Hack
|
92ccf5fec6
cleaned up CAS branch a bit
|
пре 12 година |
Ben Hood
|
8d9a57e01e
No need to make the caller supply the CAS flag in the binding statement
|
пре 12 година |
Ben Hood
|
f1f71b5f46
First cut at adding CAS statements
|
пре 12 година |
Niklas Korz
|
56f9b80150
Checking for other errors first in Query.Scan
|
пре 12 година |
Niklas Korz
|
c60915c4c7
Return ErrNotFound when no row matches the query
|
пре 12 година |
Christoph Hack
|
1a181ce13a
support for prefetching and lighter Iter struct
|
пре 12 година |
Christoph Hack
|
37e919a109
added session settings
|
пре 12 година |
Christoph Hack
|
9f1b21f87b
documented Iter and SnappyCompressor
|
пре 12 година |
Christoph Hack
|
bace3dba72
simplified query interface, added more docs
|
пре 12 година |
Christoph Hack
|
492bac0157
added tracing docs
|
пре 12 година |