Skip to content

IndividualResult

  • Engine: MongoDB (mongoengine document)
  • App: reference
  • Table/Collection: ``

Lightweight record for one team's results, contained in a Scoreboard

Field Type Column/Key Null/Default PK Choices Notes
team_id StringField team_id null — Bib
team_name StringField team_name null — Full name of athlete
total FloatField total null/dflt=0 — Overall score
formatted_total StringField formatted_total null — Formatted total score
lines ListField lines null/dflt=[] — Individual event scores
formatted_lines ListField formatted_lines null/dflt=[] — Individual event scores, formatted
extra1 ListField extra1 null/dflt=[] — Optional Text to go with individual event scores
extra2 ListField extra2 null/dflt=[] — Optional Text to go with individual event scores

Field names link to their fuller explanation below.

Field details

Click a field name in the table above to jump to its explanation. Fields with no help text yet show a prompt, and are the ones to improve by adding a help_text on the model field, then regenerating.

team_id

  • Engine: MongoDB
  • Type: StringField
  • Column/Key: team_id
  • nullable

Bib

team_name

  • Engine: MongoDB
  • Type: StringField
  • Column/Key: team_name
  • nullable

Full name of athlete

total

  • Engine: MongoDB
  • Type: FloatField
  • Column/Key: total
  • nullable; default = 0

Overall score

formatted_total

  • Engine: MongoDB
  • Type: StringField
  • Column/Key: formatted_total
  • nullable

Formatted total score

lines

  • Engine: MongoDB
  • Type: ListField
  • Column/Key: lines
  • nullable; default = []

Individual event scores

formatted_lines

  • Engine: MongoDB
  • Type: ListField
  • Column/Key: formatted_lines
  • nullable; default = []

Individual event scores, formatted

extra1

  • Engine: MongoDB
  • Type: ListField
  • Column/Key: extra1
  • nullable; default = []

Optional Text to go with individual event scores

extra2

  • Engine: MongoDB
  • Type: ListField
  • Column/Key: extra2
  • nullable; default = []

Optional Text to go with individual event scores

Generated by docs_models management command for MongoDB.