pub struct QueryBuilder;Expand description
查询构建器入口
Implementations§
Source§impl QueryBuilder
impl QueryBuilder
Sourcepub fn select<E: Entity>() -> SelectBuilder<E>
pub fn select<E: Entity>() -> SelectBuilder<E>
创建 SELECT 构建器
Sourcepub fn insert<E: Entity>() -> InsertBuilder<E>
pub fn insert<E: Entity>() -> InsertBuilder<E>
创建 INSERT 构建器
Sourcepub fn update<E: Entity>() -> UpdateBuilder<E>
pub fn update<E: Entity>() -> UpdateBuilder<E>
创建 UPDATE 构建器
Sourcepub fn delete<E: Entity>() -> DeleteBuilder<E>
pub fn delete<E: Entity>() -> DeleteBuilder<E>
创建 DELETE 构建器
Auto Trait Implementations§
impl Freeze for QueryBuilder
impl RefUnwindSafe for QueryBuilder
impl Send for QueryBuilder
impl Sync for QueryBuilder
impl Unpin for QueryBuilder
impl UnsafeUnpin for QueryBuilder
impl UnwindSafe for QueryBuilder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more