Crate mssql_quick

source ·

Macros§

  • 计数 ,返回 sql 语句
  • 删除数据 ,返回 sql 语句。
  • 批量删除数据,返回 sql 语句
  • 查寻数据,返回 sql 语句
  • 获取一条数据,返回 sql 语句
  • 新增数据 ,返回 sql 语句。
  • 批量新增数据 ,返回 sql 语句。
  • 1.通过id,更新数据 ,返回 sql 语句。
  • 1.单个条件,批量更新数据 ,返回 sql 语句。

Structs§

  • Client is the main entry point to the SQL Server, providing query execution capabilities.
  • A compatibility layer that allows conversion between the tokio::io and futures-io AsyncRead and AsyncWrite traits.
  • The Config struct contains all configuration information required for connecting to the database with a Client. It also provides the server address when connecting to a TcpStream via the get_addr method.
  • mscount 返回
  • A compiled regular expression for searching Unicode haystacks.
  • A row of data from a query.
  • A TCP stream between a local and a remote socket.

Enums§

  • The type of the column.
  • The configured encryption level specifying if encryption is required
  • A unified error enum that contains several errors that might occurr during the lifecycle of this driver
  • Represents any valid JSON value.

Traits§

  • Extension trait that allows converting a type implementing tokio::io::AsyncWrite to implement futures_io::AsyncWrite.

Functions§

  • Deserialize an instance of type T from a string of JSON text.
  • 运行sql语句,返回想要的结果
  • Serialize the given data structure as a String of JSON.