Lines Matching defs:Insert

25 type Insert struct {  struct
26 bypassDocumentValidation *bool
27 documents []bsoncore.Document
28 ordered *bool
29 session *session.Client
30 clock *session.ClusterClock
31 collection string
32 monitor *event.CommandMonitor
33 crypt *driver.Crypt
34 database string
35 deployment driver.Deployment
36 selector description.ServerSelector
37 writeConcern *writeconcern.WriteConcern
38 retry *driver.RetryMode
39 result InsertResult
74 func (i *Insert) Result() InsertResult { return i.result }
76 …sponse(response bsoncore.Document, srvr driver.Server, desc description.Server, insert int) error {
83 func (i *Insert) Execute(ctx context.Context) error {
111 func (i *Insert) command(dst []byte, desc description.SelectedServer) ([]byte, error) {
124 func (i *Insert) BypassDocumentValidation(bypassDocumentValidation bool) *Insert {
135 func (i *Insert) Documents(documents ...bsoncore.Document) *Insert {
146 func (i *Insert) Ordered(ordered bool) *Insert {
156 func (i *Insert) Session(session *session.Client) *Insert {
166 func (i *Insert) ClusterClock(clock *session.ClusterClock) *Insert {
176 func (i *Insert) Collection(collection string) *Insert {
186 func (i *Insert) CommandMonitor(monitor *event.CommandMonitor) *Insert {
196 func (i *Insert) Crypt(crypt *driver.Crypt) *Insert {
206 func (i *Insert) Database(database string) *Insert {
216 func (i *Insert) Deployment(deployment driver.Deployment) *Insert {
226 func (i *Insert) ServerSelector(selector description.ServerSelector) *Insert {
236 func (i *Insert) WriteConcern(writeConcern *writeconcern.WriteConcern) *Insert {
247 func (i *Insert) Retry(retry driver.RetryMode) *Insert {