Sync establishes a synchronization point and flushes the queued requests.
()
| 2576 | |
| 2577 | // Sync establishes a synchronization point and flushes the queued requests. |
| 2578 | func (p *Pipeline) Sync() error { |
| 2579 | p.SendPipelineSync() |
| 2580 | return p.Flush() |
| 2581 | } |
| 2582 | |
| 2583 | // GetResults gets the next results. If results are present, results may be a *ResultReader, *StatementDescription, or |
| 2584 | // *PipelineSync. If an ErrorResponse is received from the server, results will be nil and err will be a *PgError. If no |