Closed phptek closed 8 years ago
To ensure good separation of concerns, JSONBackend should be made abstract and each supported RDBMS should have its own subclass e.g. PostgresJSONBackend and MariaDBJSONBackend.
JSONBackend
PostgresJSONBackend
MariaDBJSONBackend
These subclasses will then eventually support a range of the more useful JSON functions of each RDBMS. For example with Postgres, the functions found here under "Processing Functions" https://www.postgresql.org/docs/9.5/static/functions-json.html
Implemented in c01072340...closing.
c01072340
To ensure good separation of concerns,
JSONBackend
should be made abstract and each supported RDBMS should have its own subclass e.g.PostgresJSONBackend
andMariaDBJSONBackend
.These subclasses will then eventually support a range of the more useful JSON functions of each RDBMS. For example with Postgres, the functions found here under "Processing Functions" https://www.postgresql.org/docs/9.5/static/functions-json.html