surrealdb_core/sql/value/
first.rs

1
2
3
4
5
6
7
8
use crate::sql::part::Part;
use crate::sql::value::Value;

impl Value {
	pub fn first(&self) -> Self {
		self.pick(&[Part::First])
	}
}