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.

createLink

Creates a new link used to connect with remote MongoDB® instances.

dotProduct

Returns the scalar product of two vector inputs.

dropLink

Deletes a link created using the createLink command.

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: January 4, 2024

Was this article helpful?