title: Flask CRUD using SQLAlchemy, how can I load data column
body: <p>I want to load database value? using sql alchmey.
  If I ask using get mehtod '127.0.0.1/api/v1/user/25/'</p>
  
  <p>There is a value in database(id=5, username=jaeyeon, email=jae@naver.com)
  I want to show this column.
  but it can't. Where can I fix the code?<br>
  I don't know how parameter deliver.. Please help me :(</p>
  
  <pre><code>from flask import Flask, url_for, redirect
  from flask_sqlalchemy import SQLAlchemy
  from flask_restful import reqparse, abort, Api, Resource
  
  
  app = Flask(__name__)
  api = Api(app)
  
  app.config['SQLALCHEMY_DATABASE_URI'] = 'mysql://root:12345@localhost/catchat'
  db = SQLAlchemy(app)
  
  
  class User(db.Model):
      id = db.Column(db.Integer, primary_key=True)
      username = db.Column(db.String(80), unique=True)
      email = db.Column(db.String(120), unique=True)
      password = db.Column(db.String(120), unique=True)
  
      def __init__(self, username, email, password):
          self.username = username
          self.email = email
          self.password = password
  
      def __repr__(self):
          return '&lt;User %r&gt;' % self.username
  class user(Resource):
      def get(self, id):
          args = parser.parse_args()
          user_id = db.session.query(User.id == args['id']).filter(id)
          print user_id
          entry = [dict(id=user.id, username=user.username, email=user.email, password=user.password)]
          print entry
          return entry, 200
  api.add_resource(user,'/api/v1/user/&lt;int:id&gt;')
  
  if __name__ == '__main__':
      app.run(debug=True)
  </code></pre>