sandbox-java/pg-lct-msg-client
dancingCycle a1db7dd48f feat(pg-lct-msg-client): add method hasTable 2022-05-11 20:36:50 +02:00
..
src/main/java/de/swingbe/pg_lct_msg_client feat(pg-lct-msg-client): add method hasTable 2022-05-11 20:36:50 +02:00
README.md feat: initialize pg-lct-msg-client tool 2022-05-10 15:34:16 +02:00
pom.xml feat(pg-lct-msg-client): add class PgConnection PgPrepStatement 2022-05-11 15:34:43 +02:00

README.md

Overview

This project can serve as a client for the Postgresql LctMsg API.

Links

SQL Statements

select * from lct_msg_y where vc_date='2022-05-09';
select * from lct_msg_y where vc_date='2022-05-10' AND vc_trip='4457006';
select COUNT(*) from lct_msg_y where vc_date='2022-05-10' AND vc_trip='4457006';
SELECT
      CASE WHEN EXISTS 
      (
            SELECT * from lct_msg_y where vc_date='2022-05-10' AND vc_trip='4457006'
      )
      THEN 'TRUE'
      ELSE 'FALSE'
END;