title: Flask model return all table columns
body: <p>i have this on my model</p>
  
  <pre><code>class Social(db.Model):
  __tablename__ = 'social_auth_usersocialauth'
  id = db.Column('id',db.Integer, primary_key=True)
  provider = db.Column('provider',db.String(32))
  extra_data = db.Column('extra_data',db.String())
  uid = db.Column('uid',db.String(255))
  
  def __init__(self,id, provider, extra_data, uid):
      self.id = id
      self.provider = provider
      self.extra_data = extra_data
      self.uid = uid
  def __repr__(self):
      return self.uid
  </code></pre>
  
  <p>and when i call it to my view, i just get the uid, yes i know because in my model i just returned it's uid, the question is, how can i return all of it's table's columns ?
  like id, provider, also extra_data column,,,
  Thank you.</p>