golang.org/x/pkgsite/internal/database.DB.BulkUpsert (method)
5 uses
golang.org/x/pkgsite/internal/database (current package)
database.go#L315: func (db *DB) BulkUpsert(ctx context.Context, table string, columns []string, values []interface{}, conflictColumns []string) error {
golang.org/x/pkgsite/internal/postgres
insert_module.go#L291: return db.BulkUpsert(ctx, "licenses", licenseCols, licenseValues,
insert_module.go#L322: return tx.BulkUpsert(ctx, "imports_unique", cols, values, cols)
insert_module.go#L587: return db.BulkUpsert(ctx, "package_imports", importCols, importValues, importCols)
insert_module.go#L613: return db.BulkUpsert(ctx, "readmes", readmeCols, readmeValues, []string{"unit_id"})
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |