surrealdb-core 3.2.1

A scalable, distributed, collaborative, document-graph database, for the realtime web
Documentation
1
2
3
4
5
6
7
8
use crate::expr::paths::ID;
use crate::val::{RecordId, Value};

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