ADOdb

Database Abstraction Layer for PHP

User Tools

Site Tools


v5:reference:connection:setcustommetatype

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
v5:reference:connection:setcustommetatype [2021/01/18 04:02] mnewnhamv5:reference:connection:setcustommetatype [2021/01/18 04:09] mnewnham
Line 46: Line 46:
  
 /* /*
-* A type 'P' is associated with a physical data type of 255 (MYSQLI_TYPE_GEOMETRY) and we describe it as 'POINT' in the insertion statement. Because we do not want +* A type 'P' is associated with a physical data type of 255 (MYSQLI_TYPE_GEOMETRY)  
 +and we describe it as 'POINT' in the insertion statement. Because we do not want  
 +* any changes to the input value, we do not define any processing rules
 */ */
 $ok = $db->setCustomMetaType('P',MYSQLI_TYPE_GEOMETRY, 'POINT'); $ok = $db->setCustomMetaType('P',MYSQLI_TYPE_GEOMETRY, 'POINT');
v5/reference/connection/setcustommetatype.txt · Last modified: 2021/01/20 01:30 by mnewnham