Skip to main content

sql_query

SQL query algorithm.

Classes

SqlQuery

class SqlQuery(*, query: str, **kwargs: Any):

Simple algorithm for running a SQL query on a table.

Arguments

  • query: The SQL query to execute.

Attributes

  • name: The name of the algorithm.
  • field: The name of the column to take the mean of.

Ancestors

  • bitfount.federated.algorithms.base._BaseAlgorithmFactory
  • bitfount.federated.mixins._ModellessAlgorithmMixIn
  • abc.ABC
  • bitfount.federated.roles._RolesMixIn
  • bitfount.types._BaseSerializableObjectMixIn
  • bitfount.federated.types._DataLessAlgorithm

Methods


def modeller(    self, **kwargs: Any,)> bitfount.federated.algorithms.sql_query._ModellerSide:

Returns the modeller side of the SqlQuery algorithm.

def worker(self, **kwargs: Any)> bitfount.federated.algorithms.sql_query._WorkerSide:

Returns the worker side of the SqlQuery algorithm.

Variables