• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

gluesql / gluesql / 27895806754

21 Jun 2026 06:20AM UTC coverage: 98.637% (-0.07%) from 98.711%
27895806754

push

github

web-flow
Convert core and native storages to sync execution (#1928)

GlueSQL's async support has mostly been driven by browser-facing storage constraints such as IndexedDB, rather than by the core execution model itself.

That async boundary ended up spreading through the planner, executor, storage traits, CLI, examples, tests, and native storage implementations. For Rust users and native storages, this added futures/stream plumbing and async dependencies even when the underlying work was synchronous or backed by synchronous APIs.

With the JavaScript and Python packages being split out of this workspace, this PR makes the Rust core synchronous again and keeps browser/package-specific async concerns out of the core storage contract.

2100 of 2147 new or added lines in 141 files covered. (97.81%)

18 existing lines in 9 files now uncovered.

44000 of 44608 relevant lines covered (98.64%)

77908.96 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

50.0
/core/src/store/function.rs
1
use crate::{
2
    data::CustomFunction as StructCustomFunction,
3
    result::{Error, Result},
4
};
5

6
pub trait CustomFunction {
7
    fn fetch_function<'a>(&'a self, _func_name: &str) -> Result<Option<&'a StructCustomFunction>> {
6✔
8
        Err(Error::StorageMsg(
6✔
9
            "[Storage] CustomFunction is not supported".to_owned(),
6✔
10
        ))
6✔
11
    }
6✔
12

13
    fn fetch_all_functions(&self) -> Result<Vec<&StructCustomFunction>> {
2✔
14
        Err(Error::StorageMsg(
2✔
15
            "[Storage] CustomFunction is not supported".to_owned(),
2✔
16
        ))
2✔
17
    }
2✔
18
}
19

20
pub trait CustomFunctionMut {
NEW
21
    fn insert_function(&mut self, _func: StructCustomFunction) -> Result<()> {
×
22
        Err(Error::StorageMsg(
×
23
            "[Storage] CustomFunction is not supported".to_owned(),
×
24
        ))
×
25
    }
×
26

NEW
27
    fn delete_function(&mut self, _func_name: &str) -> Result<()> {
×
28
        Err(Error::StorageMsg(
×
29
            "[Storage] CustomFunction is not supported".to_owned(),
×
30
        ))
×
31
    }
×
32
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc