Open scheung38 opened 7 years ago
Hi, does this support mongodB ?
from flask_restless import APIManager app = Flask(__name__) app.config.from_object('config') # db = SQLA(app) dbmongo = MongoEngine(app) # appbuilder = AppBuilder(app, db.session) appbuilder = AppBuilder(app, security_manager_class=SecurityManager) api_manager = APIManager(app, flask_sqlalchemy_db=dbmongo) api_manager.create_api(Activities, methods=['GET', 'POST', 'DELETE', 'PUT']) api_manager.create_api(Projects, methods=['GET', 'POST', 'DELETE', 'PUT'])
Not sure if this is valid?
I would say it definitely does not. This module is for relational databases, ie SQLite, MySQL, MariaDB, etc. Mongo DB does not fit into this category.
Hi, does this support mongodB ?
Not sure if this is valid?