evadb.EvaDBCursor.insert#

EvaDBCursor.insert(table_name, columns, values, **kwargs) EvaDBQuery[source]#

Executes an INSERT query.

Parameters:
  • table_name (str) – The name of the table to insert into

  • columns (list) – The list of columns to insert into

  • values (list) – The list of values to insert

  • **kwargs – Additional keyword arguments for configuring the INSERT operation.

Returns:

The EvaDBQuery object.

Return type:

EvaDBQuery

Examples

>>> cursor.insert("sample_table", ["id", "name"], [1, "Alice"])