Crate mysql_quick

source ·

Macros§

  • 计数 ,返回 sql 语句,参数同 find 类似。
  • 1.通过id,删除数据,返回 sql 语句。
  • 批量删除数据,返回 sql 语句
  • 查寻数据,返回 sql 语句
  • 获取一条数据,返回 sql 语句
  • 新增数据 ,返回 sql 语句。
  • 批量新增数据 ,返回 sql 语句。
  • 1.通过id,更新数据 ,返回 sql 语句。
  • 批量更新数据 ,返回 sql 语句。

Structs§

Enums§

  • Represents any valid JSON value.

Constants§

Traits§

Functions§

  • Deserialize an instance of type T from a string of JSON text.
  • 运行sql语句,返回最近一条语句的数据 id,如果上没有,则返回0 用于:myset、mydel、mysetmany、myupdate、myupdatemany
  • 事务执行
  • 事务执行
  • 运行sql语句,返回结果列表
  • Serialize the given data structure as a String of JSON.

Derive Macros§

  • Derives FromRow. See mysql_common crate-level docs for more info.
  • Derives FromValue. See mysql_common crate-level docs for more info.