Versions in this module Expand all Collapse all v0 v0.1.1 Oct 20, 2014 v0.1.0 Oct 20, 2014 Changes in this version + var April = constructRootTerm("April", p.Term_APRIL, []interface{}{}, map[string]interface{}{}) + var August = constructRootTerm("August", p.Term_AUGUST, []interface{}{}, map[string]interface{}{}) + var December = constructRootTerm("December", p.Term_DECEMBER, []interface{}{}, map[string]interface{}{}) + var ErrEmptyResult = errors.New("The result does not contain any more rows") + var ErrPoolExhausted = errors.New("gorethink: connection pool exhausted") + var February = constructRootTerm("February", p.Term_FEBRUARY, []interface{}{}, map[string]interface{}{}) + var Friday = constructRootTerm("Friday", p.Term_FRIDAY, []interface{}{}, map[string]interface{}{}) + var January = constructRootTerm("January", p.Term_JANUARY, []interface{}{}, map[string]interface{}{}) + var July = constructRootTerm("July", p.Term_JULY, []interface{}{}, map[string]interface{}{}) + var June = constructRootTerm("June", p.Term_JUNE, []interface{}{}, map[string]interface{}{}) + var March = constructRootTerm("March", p.Term_MARCH, []interface{}{}, map[string]interface{}{}) + var May = constructRootTerm("May", p.Term_MAY, []interface{}{}, map[string]interface{}{}) + var Monday = constructRootTerm("Monday", p.Term_MONDAY, []interface{}{}, map[string]interface{}{}) + var November = constructRootTerm("November", p.Term_NOVEMBER, []interface{}{}, map[string]interface{}{}) + var October = constructRootTerm("October", p.Term_OCTOBER, []interface{}{}, map[string]interface{}{}) + var Row = constructRootTerm("Doc", p.Term_IMPLICIT_VAR, []interface{}{}, map[string]interface{}{}) + var Saturday = constructRootTerm("Saturday", p.Term_SATURDAY, []interface{}{}, map[string]interface{}{}) + var September = constructRootTerm("September", p.Term_SEPTEMBER, []interface{}{}, map[string]interface{}{}) + var Sunday = constructRootTerm("Sunday", p.Term_SUNDAY, []interface{}{}, map[string]interface{}{}) + var Thursday = constructRootTerm("Thursday", p.Term_THURSDAY, []interface{}{}, map[string]interface{}{}) + var Tuesday = constructRootTerm("Tuesday", p.Term_TUESDAY, []interface{}{}, map[string]interface{}{}) + var Wednesday = constructRootTerm("Wednesday", p.Term_WEDNESDAY, []interface{}{}, map[string]interface{}{}) + func TestOnBorrow(c *Connection, t time.Time) error + type BetweenOpts struct + Index interface{} + LeftBound interface{} + RightBound interface{} + type CloseOpts struct + NoReplyWait bool + type Conn interface + Close func() error + ReadResponse func(s *Session, token int64) (*p.Response, error) + SendQuery func(s *Session, q *p.Query, t Term, opts map[string]interface{}, async bool) (*Cursor, error) + type ConnectOpts struct + Address string + AuthKey string + Database string + IdleTimeout time.Duration + MaxActive int + MaxIdle int + Timeout time.Duration + Token int64 + type Connection struct + func Dial(s *Session) (*Connection, error) + func (c *Connection) Close() error + func (c *Connection) CloseNoWait() error + func (c *Connection) ReadResponse(s *Session, token int64) (*p.Response, error) + func (c *Connection) SendQuery(s *Session, q *p.Query, t Term, opts map[string]interface{}, async bool) (*Cursor, error) + type Cursor struct + func (c *Cursor) All(result interface{}) error + func (c *Cursor) Close() error + func (c *Cursor) Err() error + func (c *Cursor) IsNil() bool + func (c *Cursor) Next(result interface{}) bool + func (c *Cursor) One(result interface{}) error + func (c *Cursor) Profile() interface{} + type DeleteOpts struct + Durability interface{} + ReturnVals interface{} + type DuringOpts struct + LeftBound interface{} + RightBound interface{} + type EqJoinOpts struct + Index interface{} + type FilterOpts struct + Default interface{} + type HttpOpts struct + Auth interface{} + Data interface{} + Header interface{} + Method interface{} + Page interface{} + PageLimit interface{} + Params interface{} + Reattempts interface{} + Redirects interface{} + ResultFormat interface{} + Timeout interface{} + Verify interface{} + type ISO8601Opts struct + DefaultTimezone interface{} + type IndexCreateOpts struct + Multi interface{} + type InsertOpts struct + CacheSize interface{} + Durability interface{} + ReturnVals interface{} + Upsert interface{} + type OptArgs interface + type OrderByOpts struct + Index interface{} + type Pool struct + IdleTimeout time.Duration + MaxActive int + MaxIdle int + Session *Session + func (p *Pool) ActiveCount() int + func (p *Pool) Close() error + func (p *Pool) Get() Conn + type RandomOpts struct + Float interface{} + type ReplaceOpts struct + Durability interface{} + NotAtomic interface{} + ReturnVals interface{} + type RqlClientError struct + func (e RqlClientError) Error() string + func (e RqlClientError) String() string + type RqlCompileError struct + func (e RqlCompileError) Error() string + func (e RqlCompileError) String() string + type RqlConnectionError struct + func (e RqlConnectionError) Error() string + func (e RqlConnectionError) String() string + type RqlDriverError struct + func (e RqlDriverError) Error() string + func (e RqlDriverError) String() string + type RqlRuntimeError struct + func (e RqlRuntimeError) Error() string + func (e RqlRuntimeError) String() string + type RunOpts struct + BatchConf interface{} + Db interface{} + NoReply interface{} + Profile interface{} + TimeFormat interface{} + UseOutdated interface{} + type Session struct + func Connect(args ConnectOpts) (*Session, error) + func (s *Session) Close(optArgs ...CloseOpts) error + func (s *Session) NoReplyWait() + func (s *Session) Reconnect(optArgs ...CloseOpts) error + func (s *Session) SetMaxIdleConns(n int) + func (s *Session) SetMaxOpenConns(n int) + func (s *Session) SetTimeout(timeout time.Duration) + func (s *Session) Use(database string) + type SliceOpts struct + LeftBound interface{} + RightBound interface{} + type TableCreateOpts struct + CacheSize interface{} + DataCenter interface{} + Durability interface{} + PrimaryKey interface{} + type TableOpts struct + UseOutdated interface{} + type Term struct + func Add(args ...interface{}) Term + func And(args ...interface{}) Term + func Args(args ...interface{}) Term + func Asc(args ...interface{}) Term + func Branch(args ...interface{}) Term + func Db(args ...interface{}) Term + func DbCreate(args ...interface{}) Term + func DbDrop(args ...interface{}) Term + func DbList(args ...interface{}) Term + func Desc(args ...interface{}) Term + func Div(args ...interface{}) Term + func Do(args ...interface{}) Term + func EpochTime(args ...interface{}) Term + func Eq(args ...interface{}) Term + func Error(args ...interface{}) Term + func Expr(value interface{}) Term + func Ge(args ...interface{}) Term + func Gt(args ...interface{}) Term + func Http(url interface{}, optArgs ...HttpOpts) Term + func ISO8601(date interface{}, optArgs ...ISO8601Opts) Term + func Js(jssrc interface{}) Term + func Json(args ...interface{}) Term + func Le(args ...interface{}) Term + func Literal(args ...interface{}) Term + func Lt(args ...interface{}) Term + func Mod(args ...interface{}) Term + func Mul(args ...interface{}) Term + func Ne(args ...interface{}) Term + func Not(args ...interface{}) Term + func Now(args ...interface{}) Term + func Object(args ...interface{}) Term + func Or(args ...interface{}) Term + func Sub(args ...interface{}) Term + func Table(name interface{}, optArgs ...TableOpts) Term + func Time(args ...interface{}) Term + func (t Term) Add(args ...interface{}) Term + func (t Term) And(args ...interface{}) Term + func (t Term) Append(args ...interface{}) Term + func (t Term) Avg(args ...interface{}) Term + func (t Term) Between(lowerKey, upperKey interface{}, optArgs ...BetweenOpts) Term + func (t Term) ChangeAt(args ...interface{}) Term + func (t Term) Changes() Term + func (t Term) CoerceTo(args ...interface{}) Term + func (t Term) ConcatMap(args ...interface{}) Term + func (t Term) Contains(args ...interface{}) Term + func (t Term) Count(args ...interface{}) Term + func (t Term) Date(args ...interface{}) Term + func (t Term) Day(args ...interface{}) Term + func (t Term) DayOfWeek(args ...interface{}) Term + func (t Term) DayOfYear(args ...interface{}) Term + func (t Term) Default(args ...interface{}) Term + func (t Term) Delete(optArgs ...DeleteOpts) Term + func (t Term) DeleteAt(args ...interface{}) Term + func (t Term) Difference(args ...interface{}) Term + func (t Term) Distinct(args ...interface{}) Term + func (t Term) Div(args ...interface{}) Term + func (t Term) Do(args ...interface{}) Term + func (t Term) Downcase(args ...interface{}) Term + func (t Term) During(startTime, endTime interface{}, optArgs ...DuringOpts) Term + func (t Term) Eq(args ...interface{}) Term + func (t Term) EqJoin(left, right interface{}, optArgs ...EqJoinOpts) Term + func (t Term) Exec(s *Session, optArgs ...RunOpts) error + func (t Term) Field(args ...interface{}) Term + func (t Term) Filter(f interface{}, optArgs ...FilterOpts) Term + func (t Term) ForEach(args ...interface{}) Term + func (t Term) Ge(args ...interface{}) Term + func (t Term) Get(args ...interface{}) Term + func (t Term) GetAll(keys ...interface{}) Term + func (t Term) GetAllByIndex(index interface{}, keys ...interface{}) Term + func (t Term) Group(fieldOrFunctions ...interface{}) Term + func (t Term) GroupByIndex(index interface{}, fieldOrFunctions ...interface{}) Term + func (t Term) Gt(args ...interface{}) Term + func (t Term) HasFields(args ...interface{}) Term + func (t Term) Hours(args ...interface{}) Term + func (t Term) InTimezone(args ...interface{}) Term + func (t Term) IndexCreate(name interface{}, optArgs ...IndexCreateOpts) Term + func (t Term) IndexCreateFunc(name, f interface{}, optArgs ...IndexCreateOpts) Term + func (t Term) IndexDrop(args ...interface{}) Term + func (t Term) IndexList(args ...interface{}) Term + func (t Term) IndexStatus(args ...interface{}) Term + func (t Term) IndexWait(args ...interface{}) Term + func (t Term) IndexesOf(args ...interface{}) Term + func (t Term) Info(args ...interface{}) Term + func (t Term) InnerJoin(args ...interface{}) Term + func (t Term) Insert(arg interface{}, optArgs ...InsertOpts) Term + func (t Term) InsertAt(args ...interface{}) Term + func (t Term) IsEmpty(args ...interface{}) Term + func (t Term) Keys(args ...interface{}) Term + func (t Term) Le(args ...interface{}) Term + func (t Term) Limit(args ...interface{}) Term + func (t Term) Lt(args ...interface{}) Term + func (t Term) Map(args ...interface{}) Term + func (t Term) Match(args ...interface{}) Term + func (t Term) Max(args ...interface{}) Term + func (t Term) Merge(args ...interface{}) Term + func (t Term) Min(args ...interface{}) Term + func (t Term) Minutes(args ...interface{}) Term + func (t Term) Mod(args ...interface{}) Term + func (t Term) Month(args ...interface{}) Term + func (t Term) Mul(args ...interface{}) Term + func (t Term) Ne(args ...interface{}) Term + func (t Term) Not(args ...interface{}) Term + func (t Term) Nth(args ...interface{}) Term + func (t Term) Or(args ...interface{}) Term + func (t Term) OrderBy(args ...interface{}) Term + func (t Term) OuterJoin(args ...interface{}) Term + func (t Term) Pluck(args ...interface{}) Term + func (t Term) Prepend(args ...interface{}) Term + func (t Term) Random(args ...interface{}) Term + func (t Term) Reduce(args ...interface{}) Term + func (t Term) Replace(arg interface{}, optArgs ...ReplaceOpts) Term + func (t Term) Run(s *Session, optArgs ...RunOpts) (*Cursor, error) + func (t Term) RunWrite(s *Session, optArgs ...RunOpts) (WriteResponse, error) + func (t Term) Sample(args ...interface{}) Term + func (t Term) Seconds(args ...interface{}) Term + func (t Term) SetDifference(args ...interface{}) Term + func (t Term) SetInsert(args ...interface{}) Term + func (t Term) SetIntersection(args ...interface{}) Term + func (t Term) SetUnion(args ...interface{}) Term + func (t Term) Skip(args ...interface{}) Term + func (t Term) Slice(args ...interface{}) Term + func (t Term) SpliceAt(args ...interface{}) Term + func (t Term) Split(args ...interface{}) Term + func (t Term) String() string + func (t Term) Sub(args ...interface{}) Term + func (t Term) Sum(args ...interface{}) Term + func (t Term) Sync(args ...interface{}) Term + func (t Term) Table(name interface{}, optArgs ...TableOpts) Term + func (t Term) TableCreate(name interface{}, optArgs ...TableCreateOpts) Term + func (t Term) TableDrop(args ...interface{}) Term + func (t Term) TableList(args ...interface{}) Term + func (t Term) TimeOfDay(args ...interface{}) Term + func (t Term) Timezone(args ...interface{}) Term + func (t Term) ToEpochTime(args ...interface{}) Term + func (t Term) ToISO8601(args ...interface{}) Term + func (t Term) TypeOf(args ...interface{}) Term + func (t Term) Ungroup(args ...interface{}) Term + func (t Term) Union(args ...interface{}) Term + func (t Term) Upcase(args ...interface{}) Term + func (t Term) Update(arg interface{}, optArgs ...UpdateOpts) Term + func (t Term) WithFields(args ...interface{}) Term + func (t Term) Without(args ...interface{}) Term + func (t Term) Year(args ...interface{}) Term + func (t Term) Zip(args ...interface{}) Term + type UpdateOpts struct + Durability interface{} + NotAtomic interface{} + ReturnVals interface{} + type WriteResponse struct + Created int + Deleted int + Errors int + FirstError string + GeneratedKeys []string + Inserted int + NewValue interface{} + OldValue interface{} + Replaced int + Unchanged int + Updated int