# Map field to id of other table (FOREIGN KEY)

{% embed include file="src/examples/surrealdb/map-field-to-id-of-other-table/src/main.rs" %}
{% embed include file="src/examples/surrealdb/map-field-to-id-of-other-table/out.out" %}


