Skip to content

baikaishuipp/mapper-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Description

Mybatis mapper xml file parser in pure python, get result contains:

  • namespace
  • resultMaps: contains start_line, end_line, content
  • sqls: contains start_line, end_line, content
  • statements: select/update/insert/delete statement, contains:start_line, end_line, content, statement_tag, result_map, include_sql

Installation

pip install mapper-parser

Instructions

from mapper_parser import mapper_parser

mapper_parser.parse(xml_filepath)

About

将mybatis mapper xml文件解析,获取解析结果 Parse the mybatis mapper xml file to obtain file structure information

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages