code: def get_column(name, model=None):
      
      if '.' in name:
          m, name = name.split('.')
          model = get_model(m)
  
      if model:
          return model.c.get(name)
docs: get table column according to name, the name can be like `model.column`