Last updated: 2024-11-01 16:26:14
TDSQL PostgreSQL
Last updated: 2024-11-01 16:26:14
Note:
This project needs to bind the data source of TDSQL for PostgreSQL.
Sample code
create schema if not exists wedata_demo_schema ;
CREATE TABLE wedata_demo_schema.user_info (
id SERIAL PRIMARY KEY,
name VARCHAR(255) NOT NULL
);
SELECT table_name
FROM information_schema.tables
WHERE table_schema = 'wedata_demo_schema';
INSERT INTO wedata_demo_schema.user_info (name) VALUES ('Alice'), ('Bob');
select * from wedata_demo_schema.user_info;