We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have a table with column tinyint in my database. In my code the field is bool in a struct. I can't update the value to the tinyint column.
table: CREATE TABLE "TBL_PERSON" ( "ID" BIGINT IDENTITY(1,1) NOT NULL, "NAME" VARCHAR(384) DEFAULT '' NOT NULL, "GENDER" TINYINT DEFAULT 0 NOT NULL, "AGE" INT DEFAULT 1 NOT NULL );
struct: type TblPerson struct { Id uint32 orm:"column(id)";pk Name string Gender bool Age int }
orm:"column(id)";pk
code:
The text was updated successfully, but these errors were encountered:
@ikingme ,
I have no idea how to help you.
Alex
Sorry, something went wrong.
No branches or pull requests
I have a table with column tinyint in my database. In my code the field is bool in a struct. I can't update the value to the tinyint column.
table:
CREATE TABLE "TBL_PERSON"
(
"ID" BIGINT IDENTITY(1,1) NOT NULL,
"NAME" VARCHAR(384) DEFAULT ''
NOT NULL,
"GENDER" TINYINT DEFAULT 0
NOT NULL,
"AGE" INT DEFAULT 1
NOT NULL
);
struct:
type TblPerson struct {
Id uint32
orm:"column(id)";pk
Name string
Gender bool
Age int
}
code:
The text was updated successfully, but these errors were encountered: