89 for ( $i = 0; $i < $this->result->field_count; $i++ ) {
90 $meta = $this->result->fetch_field_direct( $i );
91 if ( $fieldName == $meta->name ) {
94 $meta->not_null = $meta->flags & MYSQLI_NOT_NULL_FLAG;
95 $meta->primary_key = $meta->flags & MYSQLI_PRI_KEY_FLAG;
96 $meta->unique_key = $meta->flags & MYSQLI_UNIQUE_KEY_FLAG;
97 $meta->multiple_key = $meta->flags & MYSQLI_MULTIPLE_KEY_FLAG;
98 $meta->binary = $meta->flags & MYSQLI_BINARY_FLAG;
99 $meta->numeric = $meta->flags & MYSQLI_NUM_FLAG;
100 $meta->blob = $meta->flags & MYSQLI_BLOB_FLAG;
101 $meta->unsigned = $meta->flags & MYSQLI_UNSIGNED_FLAG;
102 $meta->zerofill = $meta->flags & MYSQLI_ZEROFILL_FLAG;