Optimize methods to return array values from SQL by maps, and Optimize boolean return.
Change parameter 'statement' to 'symbols'.