lemmy/crates/db_schema/src/impls
dullbananas 91834d0d21
Default imprementations for read and delete in Crud trait (#3707)
* h

* Start doing stuff

* Default impl for Crud::read

* Simplify Crud::read lifetimes

* fmt

* Stuff

* Stuff

* Successfully make default read implementation work

* Restore Person::read

* Clean up default Crud::read and rename 'query2

* Replace filter with find

* Attempt default Crud::create

* Change Crud to Crud<'a> (won't compile)

* Revert "Change Crud to Crud<'a> (won't compile)"

This reverts commit 7ed20f5f71.

* Default Crud::delete

* Remove Crud::delete definitions that match default

* Remove commented Site::read

* Insert trait

* Revert "Insert trait"

This reverts commit 9d780c2403.

* Use non-borrowed forms

* Revert "Use non-borrowed forms"

This reverts commit d2dd442563.

* Revert "Revert "Change Crud to Crud<'a> (won't compile)""

This reverts commit 25a27165a8.

* Fix lifetime for everything except Crud::delete

* Fix Crud::delete

* Add comment about futures

* Attempt Crud::create

* Attempt separate CrudBounds

* Revert "Attempt separate CrudBounds"

This reverts commit 1b4ca321c3.

* Try to fix Crud::create

* Move lifetime parameters to associated types

* Revert "Move lifetime parameters to associated types"

This reverts commit af1bc858ce.

* Revert "Try to fix Crud::create"

This reverts commit eec238496c.

* Revert "Revert "Attempt separate CrudBounds""

This reverts commit 1ec33ce502.

* Revert "Attempt separate CrudBounds"

This reverts commit 1b4ca321c3.

* Revert "Attempt Crud::create"

This reverts commit 47e8071b68.

* Revert "Add comment about futures"

This reverts commit b266b14653.

* Revert "Fix Crud::delete"

This reverts commit 3abcce2eec.

* Revert "Fix lifetime for everything except Crud::delete"

This reverts commit c1ad7a161b.

* Revert "Revert "Revert "Change Crud to Crud<'a> (won't compile)"""

This reverts commit 3129cd0fc3.

* Clean up

* Update site.rs
2023-08-01 10:34:10 -04:00
..
activity.rs Cache & Optimize Woodpecker CI (#3450) 2023-07-17 11:04:14 -04:00
actor_language.rs Cache & Optimize Woodpecker CI (#3450) 2023-07-17 11:04:14 -04:00
captcha_answer.rs Cache & Optimize Woodpecker CI (#3450) 2023-07-17 11:04:14 -04:00
comment.rs Default imprementations for read and delete in Crud trait (#3707) 2023-08-01 10:34:10 -04:00
comment_reply.rs Default imprementations for read and delete in Crud trait (#3707) 2023-08-01 10:34:10 -04:00
comment_report.rs Make functions work with both connection and pool (#3420) 2023-07-11 09:09:59 -04:00
community.rs Default imprementations for read and delete in Crud trait (#3707) 2023-08-01 10:34:10 -04:00
community_block.rs Make functions work with both connection and pool (#3420) 2023-07-11 09:09:59 -04:00
custom_emoji.rs Make functions work with both connection and pool (#3420) 2023-07-11 09:09:59 -04:00
email_verification.rs Make functions work with both connection and pool (#3420) 2023-07-11 09:09:59 -04:00
federation_allowlist.rs Cache & Optimize Woodpecker CI (#3450) 2023-07-17 11:04:14 -04:00
federation_blocklist.rs Make functions work with both connection and pool (#3420) 2023-07-11 09:09:59 -04:00
instance.rs Omit local instance from federated instances list (#3712) 2023-07-27 12:12:18 +02:00
language.rs Cache & Optimize Woodpecker CI (#3450) 2023-07-17 11:04:14 -04:00
local_site.rs Make functions work with both connection and pool (#3420) 2023-07-11 09:09:59 -04:00
local_site_rate_limit.rs Make functions work with both connection and pool (#3420) 2023-07-11 09:09:59 -04:00
local_user.rs Default imprementations for read and delete in Crud trait (#3707) 2023-08-01 10:34:10 -04:00
mod.rs feat: re-added captcha checks (#3289) 2023-06-27 06:38:53 -04:00
moderator.rs Default imprementations for read and delete in Crud trait (#3707) 2023-08-01 10:34:10 -04:00
password_reset_request.rs Default imprementations for read and delete in Crud trait (#3707) 2023-08-01 10:34:10 -04:00
person.rs Default imprementations for read and delete in Crud trait (#3707) 2023-08-01 10:34:10 -04:00
person_block.rs Make functions work with both connection and pool (#3420) 2023-07-11 09:09:59 -04:00
person_mention.rs Default imprementations for read and delete in Crud trait (#3707) 2023-08-01 10:34:10 -04:00
post.rs Default imprementations for read and delete in Crud trait (#3707) 2023-08-01 10:34:10 -04:00
post_report.rs Make functions work with both connection and pool (#3420) 2023-07-11 09:09:59 -04:00
private_message.rs Default imprementations for read and delete in Crud trait (#3707) 2023-08-01 10:34:10 -04:00
private_message_report.rs Make functions work with both connection and pool (#3420) 2023-07-11 09:09:59 -04:00
registration_application.rs Default imprementations for read and delete in Crud trait (#3707) 2023-08-01 10:34:10 -04:00
secret.rs Make functions work with both connection and pool (#3420) 2023-07-11 09:09:59 -04:00
site.rs Default imprementations for read and delete in Crud trait (#3707) 2023-08-01 10:34:10 -04:00
tagline.rs Make functions work with both connection and pool (#3420) 2023-07-11 09:09:59 -04:00