func (m *InputField) PrettyPrint(db *Database) string {
	var result string
	if location := db.FetchFromTable("Location", m.LocationID); location != nil {
		result += location.PrettyPrint(db) + "\n"
	}
	result += prettyPrint(m, []string{"TextTag", "Value"})
	return result
}
PrettyPrint prints InputField in a human readable format and
adds information about related entries if helpful.
package model
import (
	"database/sql"
	"encoding/json"
	"strconv"
	"strings"
)
type InputField struct {
	LocationID int
	TextTag    string
	Value      string
	pseudoID   int `ignore:"true"`
}
func (m *InputField) ID() int {
	return m.pseudoID
}
func (m *InputField) SetID(id int) {
}
func (m *InputField) UniqueKey() string {
	var sb strings.Builder
	sb.Grow(15)
	sb.WriteString(strconv.FormatInt(int64(m.LocationID), 10))
	sb.WriteString("_")
	sb.WriteString(m.TextTag)
	return sb.String()
}
func (m *InputField) Equals(m2 Model) bool {
	if m2, ok := m2.(*InputField); ok {
		return m.LocationID == m2.LocationID &&
			m.TextTag == m2.TextTag &&
			m.Value == m2.Value
	}
	return false
}
func (m *InputField) RelatedEntries(db *Database) Related {
	result := Related{}
	if location := db.FetchFromTable("Location", int(m.LocationID)); location != nil {
		result.Location = location.(*Location)
	}
	return result
}