pub struct SqliteIntegrationMappingRepository { /* private fields */ }Available on crate feature
sqlite only.Implementations§
Source§impl SqliteIntegrationMappingRepository
impl SqliteIntegrationMappingRepository
pub const fn new(pool: Pool<SqliteConnectionManager>) -> Self
Trait Implementations§
Source§impl IntegrationMappingRepository for SqliteIntegrationMappingRepository
impl IntegrationMappingRepository for SqliteIntegrationMappingRepository
Source§fn create(&self, input: CreateIntegrationMapping) -> Result<IntegrationMapping>
fn create(&self, input: CreateIntegrationMapping) -> Result<IntegrationMapping>
Create a new integration mapping.
Source§fn get(&self, id: IntegrationMappingId) -> Result<Option<IntegrationMapping>>
fn get(&self, id: IntegrationMappingId) -> Result<Option<IntegrationMapping>>
Get a mapping by ID.
Source§fn update(
&self,
id: IntegrationMappingId,
input: UpdateIntegrationMapping,
) -> Result<IntegrationMapping>
fn update( &self, id: IntegrationMappingId, input: UpdateIntegrationMapping, ) -> Result<IntegrationMapping>
Update a mapping (partial).
Source§fn list(
&self,
filter: IntegrationMappingFilter,
) -> Result<Vec<IntegrationMapping>>
fn list( &self, filter: IntegrationMappingFilter, ) -> Result<Vec<IntegrationMapping>>
List mappings with filter.
Source§fn bulk_upsert(&self, items: Vec<CreateIntegrationMapping>) -> Result<u64>
fn bulk_upsert(&self, items: Vec<CreateIntegrationMapping>) -> Result<u64>
Bulk upsert mappings. Returns the number of rows affected.
Auto Trait Implementations§
impl !RefUnwindSafe for SqliteIntegrationMappingRepository
impl !UnwindSafe for SqliteIntegrationMappingRepository
impl Freeze for SqliteIntegrationMappingRepository
impl Send for SqliteIntegrationMappingRepository
impl Sync for SqliteIntegrationMappingRepository
impl Unpin for SqliteIntegrationMappingRepository
impl UnsafeUnpin for SqliteIntegrationMappingRepository
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more