#2 Use the sxc data API to create/edit/delete data
The samples can differ based on your Razor base class or if you're running an old version.
Selected: Typed (2sxc 16+) Switch to Dynamic (Razor14 or below)
Selected: Typed (2sxc 16+) Switch to Dynamic (Razor14 or below)
Requirements
Use the sxc data API to create/edit/delete data
This page uses the sxc data API to create data for the backend.
In this tutorial you'll learn how to:
- Create data using the
.create(...)method - Update data using the
.update(...)method - Delete data using the
.delete(...)method
Look at the content below to see the effect.
| Name | Birth date | Poems | Actions |
|---|---|---|---|
| SuperPoet 602 | 1/1/2021 | 10 | |
| SuperPoet 31 | 1/1/2021 | 81 | |
| SuperPoet 314 | 1/1/2021 | 89 | |
| SuperPoet 698 | 1/1/2021 | 861 |
#2 Use the sxc data API to create/edit/delete data