Lines Matching refs:DocumentRef

36 type DocumentRef struct {  struct
52 func newDocRef(parent *CollectionRef, id string) *DocumentRef {
53 return &DocumentRef{
62 func (d *DocumentRef) Collection(id string) *CollectionRef {
71 func (d *DocumentRef) Get(ctx context.Context) (_ *DocumentSnapshot, err error) {
78 docsnaps, err := d.Parent.c.getAll(ctx, []*DocumentRef{d}, nil)
130 func (d *DocumentRef) Create(ctx context.Context, data interface{}) (_ *WriteResult, err error) {
141 func (d *DocumentRef) newCreateWrites(data interface{}) ([]*pb.Write, error) {
162 func (d *DocumentRef) Set(ctx context.Context, data interface{}, opts ...SetOption) (_ *WriteResult…
173 func (d *DocumentRef) newSetWrites(data interface{}, opts []SetOption) ([]*pb.Write, error) { argument
242 func (d *DocumentRef) Delete(ctx context.Context, preconds ...Precondition) (_ *WriteResult, err er…
253 func (d *DocumentRef) newDeleteWrites(preconds []Precondition) ([]*pb.Write, error) { argument
267 func (d *DocumentRef) newUpdatePathWrites(updates []Update, preconds []Precondition) ([]*pb.Write, … argument
286 func (d *DocumentRef) fpvsToWrites(fpvs []fpv, pc *pb.Precondition) ([]*pb.Write, error) { argument
365 func (d *DocumentRef) newUpdateWithTransform(doc *pb.Document, updatePaths []FieldPath, pc *pb.Prec… argument
667 func (d *DocumentRef) Update(ctx context.Context, updates []Update, preconds ...Precondition) (_ *W…
679 func (d *DocumentRef) Collections(ctx context.Context) *CollectionIterator {
701 parent *DocumentRef
780 func (d *DocumentRef) Snapshots(ctx context.Context) *DocumentSnapshotIterator { argument
793 docref *DocumentRef