Function mentat_ffi::entity_builder_add_string
[−]
[src]
#[no_mangle]pub unsafe extern "C" fn entity_builder_add_string<'a, 'c>(
builder: *mut EntityBuilder<InProgressBuilder<'a, 'c>>,
kw: *const c_char,
value: *const c_char
) -> *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/string
.