Code:
sqlite3 Library/Containers/com.apple.Notes/Data/Library/Notes/NotesV7.storedata .schema


that is just something I typed into terminal, and the rest of the post was the data that sqlite3 retrieved from the specified database by asking for the database's "schema" (structure)

this will hopefully barf up some html-ish text which contains the body of all of your notes at once, in a jumbled up mess that may be useful to you:

Code:
sqlite3 Library/Containers/com.apple.Notes/Data/Library/Notes/NotesV7.storedata "SELECT * FROM ZNOTEBODY" | sed 's/ / /g'



I work for the Department of Redundancy Department