Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 492 Bytes

File metadata and controls

19 lines (14 loc) · 492 Bytes

Demo Commands

  • Change replica identity to full:
docker run --tty --rm -i \
    --network distributed-caching-network \
    quay.io/debezium/tooling:1.2 \
    bash -c 'pgcli postgresql://postgresuser:postgrespw@order-db:5432/orderdb'

ALTER TABLE inventory.purchaseorder REPLICA IDENTITY FULL;
ALTER TABLE inventory.orderline REPLICA IDENTITY FULL;
  • Select orders with cancelled items from the cache:
from caching.PurchaseOrder po where po.lineItems.status="CANCELLED"