neuralib.sqlp.util

str_to_datetime

datetime_to_str

take

A help function that compose itemgetter and mapping functions.

infer_eq

A help function to make a SQL = expression.

infer_cmp

A help function to make a SQL comparison expression.

infer_in

A help function to make a SQL containing expression.

resolve_field_type

SQL primary types:

cast_to_sql

cast_from_sql

get_fields_from_schema

map_foreign

Let a table T with a foreign constraint refer to table V, map a T data to the V data.

pull_foreign

Let a table T with a foreign constraint refer to table V, pull T data from a V data.

rich_sql_table