Download Latest Version 0.32.6 source code.tar.gz (286.2 kB)
Email in envelope

Get an email when there's a new version of SeaQuery

Home / 0.32.2
Name Modified Size InfoDownloads / Week
Parent folder
0.32.2 source code.tar.gz 2025-02-18 280.6 kB
0.32.2 source code.zip 2025-02-18 389.8 kB
README.md 2025-02-18 1.3 kB
Totals: 3 Items   671.7 kB 0

New Features

  • Added with_cte to use WITH clauses in all statements https://github.com/SeaQL/sea-query/pull/859

    :::rust let select = SelectStatement::new() .columns([Glyph::Id, Glyph::Image, Glyph::Aspect]) .from(Glyph::Table) .to_owned(); let cte = CommonTableExpression::new() .query(select) .table_name(Alias::new("cte")) .to_owned(); let select = SelectStatement::new() .columns([Glyph::Id, Glyph::Image, Glyph::Aspect]) .from(Alias::new("cte")) .with_cte(cte) .to_owned(); assert_eq!( select.to_string(PostgresQueryBuilder), [ r#"WITH "cte" AS"#, r#"(SELECT "id", "image", "aspect""#, r#"FROM "glyph")"#, r#"SELECT "id", "image", "aspect" FROM "cte""#, ] .join(" ") );

Enhancements

Bug Fixes

Source: README.md, updated 2025-02-18