mirror of
https://github.com/FerretDB/documentdb.git
synced 2026-11-25 11:49:53 -05:00
10 lines
423 B
SQL
10 lines
423 B
SQL
|
|
/* SQL API function that creates a collection given a database and collection */
|
|
CREATE OR REPLACE FUNCTION helio_api.create_collection(p_database_name text, p_collection_name text)
|
|
RETURNS bool
|
|
LANGUAGE c
|
|
STRICT
|
|
AS 'MODULE_PATHNAME', $function$command_create_collection_core$function$;
|
|
COMMENT ON FUNCTION helio_api.create_collection(p_database_name text, p_collection_name text)
|
|
IS 'create a Helio API collection';
|