====== charMax ====== ~~NOTOC~~ == See Also == [[v5:userguide:adodb_stringmax|ADODB_STRINGMAX_NOTSET]]\\ [[v5:userguide:adodb_stringmax|ADODB_STRINGMAX_NOLIMIT]]\\ [[v5:reference:connection:textmax|textMax()]]\\ == Syntax == int charMax() ===== Description ===== The method ''charMax()'' returns an integer, describing the maximum length of data that can be inserted into a field with [[v5:dictionary:metatype]] ''C''. ===== Usage ===== /* * Assume MySQL database */ $i = $db->charMax(); /* * Returns: 255; */