Function mentat_ffi::entity_builder_add_ref [] [src]

#[no_mangle]
pub unsafe extern "C" fn entity_builder_add_ref<'a, 'c>(
    builder: *mut EntityBuilder<InProgressBuilder<'a, 'c>>,
    kw: *const c_char,
    value: c_longlong
) -> *mut ExternResult

Uses builder to assert value for kw on entity entid.

Errors

If entid is not present in the store. If kw is not a valid attribute in the store. If the :db/type of the attribute described by kw is not :db.type/ref.