Spring 数据 Neo4j 4 可与 org 分页。neo4j.ogm.session.Session.query
Spring Data Neo4j 4 Pageable with org.neo4j.ogm.session.Session.query
是否可以在 Spring Data Neo4j 4 中将 Pageable
与 org.neo4j.ogm.session.Session
一起使用,例如 session.query(characteristicCypher, parameters);
如果是这样,你能举个例子吗?
没有。 org.springframework.data.domain.Pageable
与 OGM Session
不兼容。
尽管如此,您可以将 OGM 原生 org.neo4j.ogm.cypher.query.Pagination
与 Session
一起使用。您可以在 OGM test source.
中查看如何使用它的示例
是否可以在 Spring Data Neo4j 4 中将 Pageable
与 org.neo4j.ogm.session.Session
一起使用,例如 session.query(characteristicCypher, parameters);
如果是这样,你能举个例子吗?
没有。 org.springframework.data.domain.Pageable
与 OGM Session
不兼容。
尽管如此,您可以将 OGM 原生 org.neo4j.ogm.cypher.query.Pagination
与 Session
一起使用。您可以在 OGM test source.