Save entities to a REST API instead of DB using Doctrine 2

前端 未结 6 691
半阙折子戏
半阙折子戏 2021-02-02 10:00

This is related to my other question: Persisting entities using a REST API.

For a project in Symfony2 I need to be able to persist entities using an remote (third-pa

6条回答
  •  悲&欢浪女
    2021-02-02 10:12

    I think you are in not right way.
    I'm not ready to dig into the documentation now, but I understand doctrine stack as:

    ORM -> DQL (doctrine query language) ->dbal ->Some database sql

    And point for implementation you feature in DBAL as custom database driver.

    I think create common REST-Driver realy interesting feature and it will do easy integration with third-party services.

提交回复
热议问题