Skip to content

TeamScore

  • Engine: MongoDB (mongoengine document)
  • App: reference
  • Table/Collection: ``
Field Type Column/Key Null/Default PK Choices Notes
team_id StringField team_id — — —
team_name StringField team_name null — —
total FloatField total null/dflt=0 — —
formatted_total_string StringField formatted_total_string null — —
scorers EmbeddedDocumentListField scorers null/dflt=[] — —
method StringField method null/dflt=POSITION POSITION: Sum of filtered race positions; ABSOLUTE: Sum of absolute race positions; TOTAL_TIME: Sum of times; TOTAL_ATHLON: Combined Events Total Team Score; AVERAGE_ATHLON: Combined Events Average Team Score; TOTAL_PERF: Total distance or performance (for fixed-time races); AVERAGE_PERF: Average distance or performance (for fixed-time races); MULTISTAGE: Multi-stage sum of times; AGE_GRADE: Sum of age grades; NONE: No team scores, filtered listing only —

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

No help text yet — add a help_text on the model field and regenerate to fill this in.

team_name

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

No help text yet — add a help_text on the model field and regenerate to fill this in.

total

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

No help text yet — add a help_text on the model field and regenerate to fill this in.

formatted_total_string

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

No help text yet — add a help_text on the model field and regenerate to fill this in.

scorers

  • Engine: MongoDB
  • Type: EmbeddedDocumentListField
  • Column/Key: scorers
  • nullable; default = []

No help text yet — add a help_text on the model field and regenerate to fill this in.

method

  • Engine: MongoDB
  • Type: StringField
  • Column/Key: method
  • nullable; default = POSITION; choices: POSITION: Sum of filtered race positions; ABSOLUTE: Sum of absolute race positions; TOTAL_TIME: Sum of times; TOTAL_ATHLON: Combined Events Total Team Score; AVERAGE_ATHLON: Combined Events Average Team Score; TOTAL_PERF: Total distance or performance (for fixed-time races); AVERAGE_PERF: Average distance or performance (for fixed-time races); MULTISTAGE: Multi-stage sum of times; AGE_GRADE: Sum of age grades; NONE: No team scores, filtered listing only

No help text yet — add a help_text on the model field and regenerate to fill this in.

Generated by docs_models management command for MongoDB.