surrealdb-core-nightly 2.1.20250111

A nightly release of the surrealdb-core crate
Documentation
1
2
3
4
5
6
7
8
9
use crate::sql::paths::ID;
use crate::sql::thing::Thing;
use crate::sql::value::Value;

impl Value {
	pub(crate) fn def(&mut self, val: &Thing) {
		self.put(&*ID, val.clone().into())
	}
}