Source code for juham.database.jconsole
from juham.base.jdatabase import JDatabase
[docs]
class JConsole(JDatabase):
"""Database interface that simply dumps the written records to stdout
solely for testing and debugging purposes."""
def __init__(self, name="jconsole"):
super().__init__(name)
[docs]
def write(self, point):
print(f"Table:{self.database}: {str(point)}")