Notice: file_put_contents(): Write of 1604 bytes failed with errno=28 No space left on device in /var/www/tgoop/post.php on line 50

Warning: file_put_contents(): Only 16384 of 17988 bytes written, possibly out of free disk space in /var/www/tgoop/post.php on line 50
emacsway-log: Software Design, Clean Architecture, DDD, Microservice Architecture, Distributed Systems, XP, Agile, etc.@emacsway_log P.1508
EMACSWAY_LOG Telegram 1508
emacsway-log: Software Design, Clean Architecture, DDD, Microservice Architecture, Distributed Systems, XP, Agile, etc.
Шикарная статья для тех, кто намерен использовать PostgreSQL JSONB для хранения Агрегатов: "Борьба с  TOAST или будущее JSONB в PostgreSQL" - https://habr.com/ru/company/oleg-bunin/blog/646987/ Статья является продолжением статьи "Проклятье TOAST и с каким…
Pattern Specification можно реализовать парой строчек кода, в случае использования JSONB поля для хранения агрегата, путем применения jsonpath.

Для реализации метода IsSatisfiedBy подойдет, например,
- https://jsonpath2.readthedocs.io/en/latest/

А для компиляции спецификации в SQL достаточно использовать нативные функции:
- https://www.postgresql.org/docs/current/functions-json.html#FUNCTIONS-SQLJSON-PATH

О классической реализации для сравнения см. здесь:
- https://dckms.github.io/system-architecture/emacsway/it/ddd/grade/domain/specification.html
🔥4



tgoop.com/emacsway_log/1508
Create:
Last Update:

Pattern Specification можно реализовать парой строчек кода, в случае использования JSONB поля для хранения агрегата, путем применения jsonpath.

Для реализации метода IsSatisfiedBy подойдет, например,
- https://jsonpath2.readthedocs.io/en/latest/

А для компиляции спецификации в SQL достаточно использовать нативные функции:
- https://www.postgresql.org/docs/current/functions-json.html#FUNCTIONS-SQLJSON-PATH

О классической реализации для сравнения см. здесь:
- https://dckms.github.io/system-architecture/emacsway/it/ddd/grade/domain/specification.html

BY emacsway-log: Software Design, Clean Architecture, DDD, Microservice Architecture, Distributed Systems, XP, Agile, etc.




Share with your friend now:
tgoop.com/emacsway_log/1508

View MORE
Open in Telegram


Telegram News

Date: |

The public channel had more than 109,000 subscribers, Judge Hui said. Ng had the power to remove or amend the messages in the channel, but he “allowed them to exist.” Telegram Android app: Open the chats list, click the menu icon and select “New Channel.” The best encrypted messaging apps Polls Unlimited number of subscribers per channel
from us


Telegram emacsway-log: Software Design, Clean Architecture, DDD, Microservice Architecture, Distributed Systems, XP, Agile, etc.
FROM American