Closed forkforlearn closed 6 years ago
"desc" is a reserved word in PostgreSQL, so you should name your column something else, like "dsc" or "description".
NULL
is converted to nil
in Lua, and nil
values don't exist in a table so they aren't in there.
https://github.com/leafo/pgmoon#converting-nulls
@Leorex that is not an issue, and you can use escape_identifier
to use any string as a column name
My table has three column
And i insert one recorder
And i select all data from the table
But there is no desc in result.... I want to see the "desc " column in the result,what should i do? thank u