Skip to content

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ServicesPool

Manage the SQL like services.

When working with databased related project, the most jobs we facing is writing SQL to implement functions. How to manage the these SQLs?

The Services Pool project is created to make this job easier.

The project logic

  1. Create a new type of SQL (Called Service SQL)which allows to input parameters when the SQL is called. For example: Select s.id, s.name, s.class from students s where s.id=:id; The ":id" will be replaced by the value which comes from the SQL called.
  2. The Service SQL was writen in a XML file which organizes the relationship between the Service SQLs. The structure of the file shows as bellow. SELECT S.ID, S.NAME, S.CLASS FROM SUTDENT S WHERE S.ID=:ID [AND S.NAME=:NAME]; ... ... ...

About

Manage the SQL like services.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages