Skip to content
This repository has been archived by the owner on Jul 25, 2019. It is now read-only.

pytatki.dbconnect.notegroup_empty()

Patryk Niedźwiedziński edited this page Nov 1, 2018 · 2 revisions

v1.0.1

notegroup_empty() - returns True if notegroup is empty, else False

notegroup_empty(
    conn,
    idnotegroup)
  • conn - connection to DB
  • idnotegroup - notegroup to check

Examples

import pytatki

_, conn = pytatki.dbconnect.connection()
if pytatki.dbconnect.notegroup_empty(conn, 1):
    print("notegroup empty")