Movatterモバイル変換


[0]ホーム

URL:


Docs.rs

Traitpostgres::GenericConnection [][src]

pub trait GenericConnection {    fnexecute(&self, query: &str, params:&[&ToSql]) ->Result<u64>;
fnquery<'a>(&'a self, query: &str, params:&[&ToSql]) ->Result<Rows>;
fnprepare<'a>(&'a self, query: &str) ->Result<Statement<'a>>;
fnprepare_cached<'a>(&'a self, query: &str) ->Result<Statement<'a>>;
fntransaction<'a>(&'a self) ->Result<Transaction<'a>>;
fnbatch_execute(&self, query: &str) ->Result<()>;
fnis_active(&self) ->bool;}

A trait allowing abstraction over connections and transactions

Required Methods

LikeConnection::execute.

LikeConnection::query.

LikeConnection::prepare.

LikeConnection::prepare_cached.

LikeConnection::transaction.

LikeConnection::batch_execute.

LikeConnection::is_active.

Implementors

Help

Keyboard Shortcuts

?
Show this help dialog
S
Focus the search field
Move up in search results
Move down in search results
Go to active search result
+
Collapse/expand all sections

Search Tricks

Prefix searches with a type followed by a colon (e.g.fn:) to restrict the search to a given type.

Accepted types are:fn,mod,struct,enum,trait,type,macro, andconst.

Search functions by type signature (e.g.vec -> usize or* -> vec)


[8]
ページ先頭

©2009-2025 Movatter.jp