-
Question: What is the proper/convenient way to handle mysql integer types? I'm quit open into change the table structure or the generation if another type would be more appropriate. It's just a small personal project and I don't foresee any performance or size issues either way. Background: When I use EQ with the generated model it seems to works (both Picture.AlbumID and Album.ID are uint32): However, when I try to use EQ with a raw uint32, it does not compile (func param: id uint32): I tried to use Int(id) which I think is a jet.IntegerExpression? but the conversion does not compile either. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Use WHERE(Picture.AlbumID.EQ(UInt32(id))) |
Beta Was this translation helpful? Give feedback.
Use
UInt32
insteadInt
: