*Drivine4j: one Kotlin graph client for Neo4j, Mem...
# feed
j
Drivine4j: one Kotlin graph client for Neo4j, Memgraph, FalkorDB, Neptune, Postgres, Oracle and SQLite 🤘 You write Cypher, or none at all, and Drivine runs it on any of these stores. On Postgres, Oracle and SQLite it’s compiled to SQL, so you can prototype on a SQLite file and move to Neo4j or Postgres without changing your code.
Copy code
@GraphView
data class HolidayingPerson(
    @Root val person: Person,
    @GraphRelationship(type = "BOOKED_HOLIDAY")
    val holidays: ListHoliday
)

graphObjectManager.loadAllHolidayingPerson {
    where { query.person.firstName eq "Ann" }
}
It also has a type-safe DSL generated by KSP, vector search with
loadNearest
, coroutines support and a Spring Boot starter (optional). How it uses Kotlin Multiplatform: the Cypher→SQL compiler is moving to about 11k lines of common Kotlin, built once for the JVM, as a native library for the Python version, and for Wasm for the TypeScript version. iOS and Android are _coming soon_: an embedded Drivine on SQLite. Drivine Studio is a desktop app for it. Drag a view onto the canvas to see the Cypher it runs and the graph it loads, or type Cypher against any store, including Postgres and Oracle. All free and open source (Apache 2.0). Sponsored by me (long ago creator of Typhoon) and Rod Johnson (long ago creator of Spring and currently Embabel, the JVM agent framework that uses Drivine as its graph client). 📖 https://drivine.org 📺

youtube.com/watch?v=uETP0EN_04Eâ–¾

🚀 1