|
|
|
@ -348,7 +348,7 @@ func ShowItemB() (itemBArray []Itemb, err error) {
|
|
|
|
|
} |
|
|
|
|
log.Println("DB Verbindung hergestellt (ItemB SHOW)") |
|
|
|
|
defer conn.Close() |
|
|
|
|
results, err := conn.Query("SELECT a.*, b.path FROM itemb a, photos b WHERE a.frontviewid=b.id") |
|
|
|
|
results, err := conn.Query("SELECT a.*, b.pfad FROM itemb a, photos b WHERE a.frontviewid=b.id") |
|
|
|
|
if err != nil { |
|
|
|
|
log.Fatal("Error while executing SELECt statement", err) |
|
|
|
|
} |
|
|
|
|