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

pytatki.dbconnect.note_exists()

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

v1.0.1

note_exists() - checks if note exists

note_exists(
    conn,
    idnote)
  • conn - connection used to check
  • idnote - id of note

Examples

import pytatki
_, conn = pytatki.dbconnect.connection()
if not pytatki.dbconnect.note_exists(conn, 1):
    print("It doesn't exists :c")
_.close()
conn.close()

See also

pytatki.dbconnect.connection()