This repository has been archived by the owner on Apr 25, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use SQLx in Postgres, MySQL and SQLite connectors
MySQL in SQLx SQLite in SQLx PostgreSQL in SQLx Refactor to latest SQLx Type-aware value binding Split mssql config to its own file, unified timeut Force JSON arguments to be of type JSONB Fix visitor tests to cope with jsonb casts switch to git sqlx Fix the caching issues finally in pg Send a clear error if having incompatible arrays Allow choosing between tokio and async-std Support decoding of TIMESTAMP Allow switching of runtime in mobc Skip a few loops by using describe's column info Last insert id for my/sqlite Remove tokio from default features Create sqlite database if it doesn't exist. Honing the types Fixing pg enums and raw_cmd. Testing last_insert_id. More green tests Back to git sqlx More green tests Test setup WIP Fixing the test
- Loading branch information
Julius de Bruijn
committed
Aug 4, 2020
1 parent
61a8fdc
commit fc3c422
Showing
33 changed files
with
2,879 additions
and
2,660 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
use crate::ast::Value; | ||
use sqlx::Database; | ||
|
||
pub trait Bind<'a, DB> | ||
where | ||
DB: Database, | ||
{ | ||
fn bind_value(self, value: Value<'a>, type_info: Option<&DB::TypeInfo>) -> crate::Result<Self> | ||
where | ||
Self: Sized; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.