Have you had tinyint (1) performance or compatibility considerations over an enumeration? Something else?
You may be interested to know that MySQL indexes ENUM with integers .
The SQL standard has included a Boolean data type since 1999, with valid values being true, false, unknown, or null. Implementation in various database systems is spotty .
MySQL does not support the true boolean data type - BOOLEAN maps to TINYINT, which takes only 1 byte. MySQL interprets 0 as false, all other numbers are true.
, 8 , . Tinyint int. . MySQL bools, , .. .
Source: https://habr.com/ru/post/1782648/More articles:Silverlight: create a hyperlink button as a text block? - windows-phone-7What is the best way to join / join two tables by column cells in Excel? - joinasp.net mvc partials do they know that they work offline or as part of a page - asp.net-mvcRemoving files with special characters in file names - phpIgnoring case matching in XQuery - xmlin Javascript / jQuery, how to check a specific part of a string and determine if it is a space or a letter? - javascriptConvert several types of documents (xls, doc, gif, png) to pdf in ruby - ruby-on-railshttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1782651/different-ways-to-enumerate-a-collection&usg=ALkJrhhgYKl1am5A7JApRSnOxG9h38PYNwВозможно ли преобразовать HTML-документ в Excel с несколькими рабочими таблицами/вкладками? - htmlTwo-key hash table - c ++All Articles