Access SQLite DB directly from the Function node

Does anybody know if it's possible to access a SQLite db file and execute queries directly from code in the Function node?

Yes, but it is a lot easier to use the sqlite node.