Repository navigation
Open
Description
| Behavior | sqlx-oldapi | sqlx-sqlserver | Status | Old test run on sqlx-sqlserver | Note | Follow-up |
|---|---|---|---|---|---|---|
Use a bound integer in an expression (SELECT 1 + @p1) |
it_maths |
fetches_bound_scalars_when_configured |
✅ | Passes | ||
| Bind an empty string and a NULL string | it_binds_empty_string_and_null |
any_fetches_text_blob_bool_and_typed_null_arguments_when_configured |
🟡 | Passes | NULL is checked. The empty string is not. | |
A NULL string parameter keeps its full type, so ISNULL(@p1, N'hello') returns hello (sqlx-oldapi#58) |
it_binds_null_with_type_in_isnull_expression |
❌ | Fails | The old test fails: ISNULL returns h. A NULL string is declared nvarchar(1). See What blocks the switch. |
||
| Bind a string with control characters and symbols | it_binds_string_with_special_chars |
fetches_string_with_special_chars_when_configured |
✅ | Passes | ||
Number placeholders @p1, @p2 as values are added |
test_format_placeholder_method |
formats_sql_server_style_placeholders |
✅ | Not run | ||
QueryBuilder writes @p1, @p2 placeholders |
test_query_builder_with_mssql_placeholders |
query_builder_binds_mssql_placeholders_when_configured |
✅ | Not run | ||
Insert and select with QueryBuilder |
it_works_with_query_builder |
query_builder_binds_mssql_placeholders_when_configured |
🟡 | Passes | The new test does not run the LIKE query with a bound pattern, and does not call fetch_all. |
|
QueryBuilder query from sqlx-oldapi#11, including a query that finds no row |
it_executes_query_from_issue_11 |
query_builder_binds_mssql_placeholders_when_configured |
🟡 | Passes | The new test checks the generated SQL and a matching row. It does not check fetch_optional with no match. |
Metadata
Metadata
Assignees
Labels
No labels
Activity
sqlx-oldapi#2