1. Home
  2. /
  3. Wix-corvid
  4. /
  5. Insert Item into Collection

Insert Item into Collection - Wix-corvid Typing CST Test

Loading…

Insert Item into Collection — Wix-corvid Code

Adds a new item to a Wix collection.

// backend/addItem.jsw
import wixData from 'wix-data';

export function addNewItem(title) {
	return wixData.insert('MyCollection', { title });
}

$w.onReady(function () {
	addNewItem('Test Item').then((item) => console.log(item));
});

Wix-corvid Language Guide

Wix Velo (formerly Corvid) is a full-stack development platform built into Wix, allowing developers to create dynamic web applications with custom interactions, databases, and backend logic using JavaScript and Wix APIs.

Primary Use Cases

  • ▸Creating dynamic pages from database collections
  • ▸Custom forms and workflows
  • ▸E-commerce functionality enhancements
  • ▸Integrating third-party APIs
  • ▸Building web apps with backend logic on Wix

Notable Features

  • ▸Full-stack JavaScript environment
  • ▸Integrated database collections
  • ▸Wix APIs for UI and backend
  • ▸Custom interactions and event handling
  • ▸Secure serverless backend functions

Origin & Creator

Developed by Wix.com, originally launched as Corvid in 2017, later rebranded as Velo.

Industrial Note

Velo is widely adopted for small-to-medium businesses needing dynamic web apps, internal tools, booking systems, and e-commerce customizations without leaving the Wix ecosystem.

More Wix-corvid Typing Exercises

Simple Backend API with CorvidSimple Dataset Query ExampleUpdate Item in CollectionDelete Item from CollectionSend Email ExampleSimple HTTP FunctionFetch Data with PromiseCreate Custom ObjectBackend Validation Function

Practice Other Languages

CReactPythonC++RustTypeScriptKotlinPHPJavaC#RubyMqlCqlN1qlCypher