neuralib.sqlp.util.map_foreign

neuralib.sqlp.util.map_foreign(value, foreign)[source]

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

Parameters:
  • value (T)

  • foreign (type[V]) – a foreign constraint

Returns:

Return type:

Cursor[V]