pub struct Select<DB> where
    DB: Database, 
{ pub table_name: TableName, pub table_field: TableFields, pub table_pk: TableFields, /* private fields */ }
Expand description

查询操作

Fields

table_name: TableNametable_field: TableFieldstable_pk: TableFields

Implementations

M 为 返回某字段类型

M 为 返回某字段类型

M 为 Model 类型

M 为 Model 类型

非联合主键的表通过主键值查找某记录 @field_name 需要获取的字段名 @pk_scalar 主键值 @executor Executor M 为 Model 类型

非联合主键的表通过主键值查找某字段值 @field_name 需要获取的字段名 @pk_scalar 主键值 @executor Executor M 为 @field_name 字段类型

从DB中重新加载Model里值 @val Model 变量 @executor Executor

M 为 Model 类型

M 为 Model 类型

M 为 Model 类型

M 为 Model 类型

M 为 Model 类型

M 为 Model 类型

M 为 Model 类型

M 为 Model 类型

M 为 Model 类型

M 为 Model 类型

M 为 Model 类型

M 为 Model 类型

M 为 Model 类型

M 为 Model 类型

M 为 Model 类型

M 为 Model 类型

M 为 返回某字段类型

M 为 返回某字段类型

M 为 返回某字段类型

M 为 返回某字段类型

M 为 返回某字段类型

M 为 返回某字段类型

M 为 返回某字段类型

M 为 返回某字段类型

M 为 返回某字段类型

M 为 返回某字段类型

M 为 返回某字段类型

M 为 返回某字段类型

M 为 返回某字段类型

M 为 返回某字段类型

M 为 返回某字段类型

M 为 返回某字段类型

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.