ADataTypeobject value that specifies a TinyInt definition in the data type. 注释 A tinyint is an integer that is stored in 1 byte. The maximum value is 255. The minimum value is 0. 示例 Visual Basic Dim dt As DataType dt = New DataType(SqlDataType.TinyInt) ...
regardless of the data type it's eventually bound to. TINYINT(1) should only be converted to a boolean when it's bound to a "bool" property, and nothing else. It appears as though it's trying to simulate the behavior of the "BIT" field in SQL Server, which is a ...
Basically, it looks like the tinyint definition is missing, at least from some aspects of DBAL. It's not possible to change an existing field to a tinyint - when you try, it returns the following error: DBALException in DBALException.php line 228: Unknown column type "tinyinteger" request...