Files
Phoebe Goldman 98585e858d Rename with_module_name -> with_database_name (#4267)
# Description of Changes

Modules are like programs, databases are like processes. Your client
connects to a remote database, not a remote module.

<!-- Please describe your change, mention any related tickets, and so on
here. -->

# API and ABI breaking changes

Yep!

# Expected complexity level and risk

2? I made this change with find + replace, and it's possible that I
borked the edit, or missed some reference somehow. It seems unlikely,
however, that this change will have deeper implications we haven't
considered.

# Testing

N/a
2026-02-12 02:11:33 +00:00
..
2026-02-07 04:26:45 +00:00
2026-02-07 04:26:45 +00:00
2026-02-07 04:26:45 +00:00
2026-02-07 04:26:45 +00:00
2026-02-07 04:26:45 +00:00

SDK Test Procedure C++

This module tests the procedure functionality in the SpacetimeDB C++ bindings.

Tests Included

  • return_primitive: Procedure returning primitive type (u32)
  • return_struct: Procedure returning custom struct
  • return_enum_a/return_enum_b: Procedures returning enum variants
  • will_panic: Procedure that panics (for error testing)

Tests Excluded (Part 2+)

The following Rust tests are excluded as they require features not yet implemented:

  • HTTP requests (read_my_schema, invalid_request)
  • Transactions (insert_with_tx_commit, insert_with_tx_rollback)
  • Scheduled procedures (schedule_proc, scheduled_proc)

Building

.\compile.bat

This will generate lib.wasm in the build directory.