Lovely poem.
Psalm 139:4
Before a word is on my tongue you, LORD, know it completely. God knows us
If He can remember every star and name it (and He does), then there is nothing He cannot know. I think that would include ever bit of knowledge there is to know. Think of it this way; nothing has ever occurred to God. God is never informed about something. Nothing ever dawns on God. He is all-knowing (omniscient).