[−][src]Crate restq_http
Structs
AlterTable | |
ColumnDef | |
CsvRows | |
Delete | DELETE /product?product_id=1 |
DropTable | |
Insert | |
Parser | Parser combinator. |
Select | |
StmtData | Contains both the statement commands and the data |
TableDef | |
Update | PATCH /product{description="I'm the new description now"}?product_id=1 |
Enums
DataValue | strict data value where each has exact byte definitions, etc. |
Error | |
Statement |
Functions
alter_table | |
csv_data_from_parts | Parse into SQL Statement AST from separate parts this is useful when using a different crate for the http request |
delete | product?product_id=1 |
drop_table | |
extract_restq_from_request | |
insert | product{product_id,created_by,created,is_active}?returning=product_id,name |
parse_statement | Parse into SQL Statement AST from http::Request |
select | person{name,age,class}?(age=gt.42&student=eq.true)|(gender=eq.M)&group_by=(age),grade,gender&having=min(age)=gte.42&order_by=age.desc,height.asc&page=2&page_size=10 |
space | any whitespace character |
sym | Success when current input symbol equals |
table_def | example: product{*product_id:s32,@name:text,description:text,updated:utc,created_by(users):u32,@is_active:bool} |
tag | Success when tag matches current input. |
to_chars | |
update | product{description="I'm the new description now",is_active=false}?product_id=1 |