- Joined
- Sep 2, 2021
- Messages
- 8
- Reaction score
- 0
Hello everyone
1. I see 3CX can be integrated with PostgreSQL database,
But I would like to ask how to add contactid when Contact Creation
In the article, I only saw this paragraph of SQL Statement, but did not see how to add contactid
"INSERT INTO contacts (first_name, last_name, phone) VALUES ('New', '3CX Contact','[Number]');SELECT id as contactid, first_name as firstname, last_name as lastname, phone as phonebusiness FROM contacts WHERE phone = '[Number]' "
2. To be honest, I don't know why I need to insert it in the query first. Does it have any meaning?
1. I see 3CX can be integrated with PostgreSQL database,
But I would like to ask how to add contactid when Contact Creation
In the article, I only saw this paragraph of SQL Statement, but did not see how to add contactid
"INSERT INTO contacts (first_name, last_name, phone) VALUES ('New', '3CX Contact','[Number]');SELECT id as contactid, first_name as firstname, last_name as lastname, phone as phonebusiness FROM contacts WHERE phone = '[Number]' "
2. To be honest, I don't know why I need to insert it in the query first. Does it have any meaning?