pub struct RowRequestBuilder { /* private fields */ }
Expand description
Builder for constructing table row queries
Provides a fluent interface for building queries with filtering, sorting, and other options.
Implementations§
Source§impl RowRequestBuilder
impl RowRequestBuilder
pub fn with_table(self, table: BaserowTable) -> Self
pub fn with_baserow(self, baserow: Baserow) -> Self
Sourcepub fn order_by(self, field: &str, direction: OrderDirection) -> Self
pub fn order_by(self, field: &str, direction: OrderDirection) -> Self
Add sorting criteria to the query
Sourcepub fn filter_by(self, field: &str, filter_op: Filter, value: &str) -> Self
pub fn filter_by(self, field: &str, filter_op: Filter, value: &str) -> Self
Add a filter condition to the query
Sourcepub async fn get<T>(self) -> Result<TypedRowsResponse<T>, Box<dyn Error>>where
T: DeserializeOwned + 'static,
pub async fn get<T>(self) -> Result<TypedRowsResponse<T>, Box<dyn Error>>where
T: DeserializeOwned + 'static,
Execute the query and return typed results
Auto Trait Implementations§
impl Freeze for RowRequestBuilder
impl !RefUnwindSafe for RowRequestBuilder
impl Send for RowRequestBuilder
impl Sync for RowRequestBuilder
impl Unpin for RowRequestBuilder
impl !UnwindSafe for RowRequestBuilder
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