Update port
This commit is contained in:
@@ -44,7 +44,7 @@ func main() {
|
||||
reportData := make([][]string, len(records))
|
||||
for idx, record := range records {
|
||||
q := models.LocationsPackages.Query()
|
||||
like := fmt.Sprintf("%%%s%%", record)
|
||||
like := fmt.Sprintf("%%%s%%", record[0])
|
||||
q.Apply(models.SelectWhere.LocationsPackages.CurrentPath.Like(like))
|
||||
res, err := q.All(context.Background(), bobDB)
|
||||
assertNoErr(err)
|
||||
|
||||
Reference in New Issue
Block a user