This plug-in mainly supports connecting and operating PostgreSQL database in UE blueprint.
目录(Contents)
Database connection 【 Create Postgre SQL 】

Enter:
Host:Database IP address.
Port: Database open port.
User: database username.
Password:Database password.
DBName:Specify the name of the database to connect to.
Output:
Success:Returns whether the database connection is successful.
Error No: An error number is returned for connection errors, and 0 is returned for success.
Error Msg:Connection error returns error message.
Operation database【 Execute SQL 】

Enter:
SQL: The executed SQL statements support SELECT, DELETE, INSERT, and UPDATE. Basically all SQL statements are supported, and the database can be operated directly here.
Commit:If there is DELETE, INSERT, UPDATE and other database data that need to be updated in the statement, you need to set this to true.
Output:
Success: Returns whether the operation was successful.
Error No:Error number, returns 0 on success.
Error Msg: Execution error returns error message.
Rows: The number of rows of output results after execution.
Result:Returns a database result set.
Result set decomposition
The result set returned by Result is an array of MAP. An array is equal to one row of information, and the data of this row is stored in a MAP. You can also use the built-in function of this plug-in to convert the output result set into JSON.
发现了一个关于 PostgreSQL 连接器的错误。如果在列名中使用大写字母,会返回错误。
数据库所有表名,列名,字段全部小写加下划线; 这样会避免很多莫名其妙的错误。
比如 create_time