Comments (2)
String sql = "select * from telegram_gorup where name like %s";
List<List<NeoMap>> execute = neo.execute(sql," '%b%'");
原来是替换规则出问题了,我这样写就好使了
from neo.
目前0.4.4之前的版本中,对含有%b、%h等等这些字符的sql有预处理(都是替换符使用),针对数据库支持的%c、%b这样来说目前算是个问题,因为sql中也会有一些这样的符号。因此这个也算是错误,之前已经发现在0.4.4版本中已经解决,做了简化,替换符只用%s,其他的都删除了
?作为占位符使用(同mybatis中的#{xxx})
%s 作为替换符使用(同mybatis中的${xxx})
from neo.
Related Issues (2)
- NoClassDefFoundError HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from neo.