You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
query:=fmt.Sprintf(`SELECT * FROM estate WHERE id = ? AND ST_Contains(ST_PolygonFromText(%s), ST_GeomFromText(%s))`, coordinates.coordinatesToText(), point)
err=db.Get(&validatedEstate, query, estate.ID)
iferr!=nil {
iferr==sql.ErrNoRows {
continue
} else {
c.Echo().Logger.Errorf("db access is failed on executing validate if estate is in polygon : %v", err)
やりたいこと
isucon10-practice/isuumo/webapp/go/main.go
Lines 856 to 909 in aa856ea
ここの改善
ある地理図形がある地理図形に含まれているかは
ST_Contains()
で判断できる。The text was updated successfully, but these errors were encountered: