Since: 2.0
detect_pod_field_from_sql_data_type
Takes a sql field such as tinyint and returns the pods field type, such as num.
Function Definition
public static function detect_pod_field_from_sql_data_type ( $sql_field )
Source File: /pods/classes/PodsAPI.php
Parameters
Parameter | Type | Details |
---|---|---|
$sql_field | (string) | The SQL field to look for |
Returns
(string) The field type