CDPotion.Domain.Database (cdpotion v0.1.1)

Summary

Types

Database object.

Unique identifier of Database object.

Database error.

Functions

Disables database tracking, prevents database events from being sent to the client.

Enables database tracking, database events will now be delivered to the client.

Parameters:

  • databaseId:DatabaseId: description not provided :(
  • query:string: description not provided :(

Parameters:

  • databaseId:DatabaseId: description not provided :(

Types

@type database() :: %{
  domain: String.t(),
  id: database_id(),
  name: String.t(),
  version: String.t()
}

Database object.

Link to this type

database_id()

@type database_id() :: String.t()

Unique identifier of Database object.

@type error() :: %{code: integer(), message: String.t()}

Database error.

Functions

Disables database tracking, prevents database events from being sent to the client.

Enables database tracking, database events will now be delivered to the client.

Link to this function

execute_sql(database_id, query)

Parameters:

  • databaseId:DatabaseId: description not provided :(
  • query:string: description not provided :(
Link to this function

get_database_table_names(database_id)

Parameters:

  • databaseId:DatabaseId: description not provided :(