gitmalong
gitmalong
absurd-sql uses sqlite3 on top of indexeddb with excellent benchmarks as it treats IndexedDB like a disk and stores data in blocks there. https://github.com/jlongster/absurd-sql
When using `create_table_if_not_exists` a Payload variant of`Payload::Create(bool)` can be useful when one wants to prefill a table with default data if the table was newly created.
Hi! I tried the following commands to make tarpaulin only test a certain package of my workspace. * `cargo tarpaulin --skip-clean -p myapp-import --workspace` * `cargo tarpaulin --skip-clean -p myapp-import`...
### What happens? I am trying to integrate DuckDb in a Rust Client Side Rendered WASM project as seen here: https://github.com/leptos-rs/leptos/tree/main/examples/tailwind_csr_trunk When adding duckdb `duckdb = { version = "0.8.1",...
The SDK has no function to get a list of all pools that also tells which pool supports which tokens.
Hi! When creating a table that does not have a primary key attached ## 1) Not able to create table that do not has primary key Workarounds in https://github.com/SeaQL/sea-orm/issues/485 do...
Based on https://github.com/leptos-rs/leptos/tree/main/examples/tailwind_csr_trunk ```rust use indexed_db_futures::{ prelude::{IdbObjectStore, IdbTransaction}, request::IdbOpenDbRequestLike, web_sys::IdbTransactionMode, IdbDatabase, IdbQuerySource, IdbVersionChangeEvent, }; use leptos::*; use wasm_bindgen::JsValue; use crate::app::navbar::Navbar; async fn prepare_db() -> String { println!("prepare db"); let mut...
Hi! As a lazy dev I would like to slap a kind of stylesheet to my UI to get started with a beautiful UI. Is that something that should be...
Hi! I found my app becoming unresponsive when working with large files (e.g. 1GB). ```rust let UseDropZoneReturn { is_over_drop_zone: _, files: _, } = use_drop_zone_with_options( drop_zone_el, UseDropZoneOptions::default().on_drop(move |event| { spawn_local(async...
Let's say my app has several background tasks. How can I create a sse endpoint handler that only returns data for a specific event?