Skip to content

Commit

Permalink
More sales talk
Browse files Browse the repository at this point in the history
  • Loading branch information
kazimuth committed Nov 21, 2024
1 parent c56675d commit 95ed2da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Speed and latency is achieved by holding all of your application state in memory

## State Mirroring

SpacetimeDB can generate client code in a [variety of languages](#client-side-sdks). This code is like a library custom-designed to interface with your application. It provides easy-to-use interfaces for logging in and submitting requests to the server. It can also **automatically mirror state** from your module's database.
SpacetimeDB can generate client code in a [variety of languages](#client-side-sdks). This creates a client library custom-designed to talk to your module. It provides easy-to-use interfaces for logging in and submitting requests to the server. It can also **automatically mirror state** from your module's database.

You write SQL queries specifying what information a client is interested in -- for instance, the terrain and items near a player's avatar. SpacetimeDB's built-in ORM will generate types in your client language for the relevant tables, and feed your client live updates whenever the database state changes. Don't worry about security, this is a **read-only** mirror -- the only way to change the database is to submit requests, which are validated on the server.

Expand Down

0 comments on commit 95ed2da

Please sign in to comment.