Open d9k opened 6 years ago
I have PostgreSQL database including table with column
active boolean NOT NULL DEFAULT true,
I have a sailor model with attribute validator:
{ active = valua:new().boolean() },
When I load PostgreSQL record to sailor model sql true value becomes lua string 't'. And sql false becomes lua string 'f'.
true
't'
false
'f'
I have PostgreSQL database including table with column
active boolean NOT NULL DEFAULT true,
I have a sailor model with attribute validator:
{ active = valua:new().boolean() },
When I load PostgreSQL record to sailor model sql
true
value becomes lua string't'
. And sqlfalse
becomes lua string'f'
.