SingleStore Extension Commands

SingleStore extension commands are custom commands unique to SingleStore Kai. You can run the following extension commands using a SingleStore Kai-enabled endpoint.

Function

Description

createCollection

Creates a new collection.

dotProduct

Returns the scalar product of two vector inputs.

euclideanDistance

Returns the scalar Euclidean distance between two vector inputs.

getDefaultCollectionOptions

Returns the defaults that are used when a collection is created implicitly by a write command.

merge

Writes the result of an aggregation pipeline to a specified collection.

setDefaultCollectionOptions

Sets the defaults that are used when a collection is created implicitly by a write command.

sql

Runs the specified SQL statement.

In this section

Last modified: July 28, 2023

Was this article helpful?