Skip to main content

cypher_guard 0.1.0 copy "cypher_guard: ^0.1.0" to clipboard
cypher_guard: ^0.1.0 copied to clipboard

Static validation helpers for Neo4j Cypher queries.

example/cypher_guard_example.dart

import 'package:cypher_guard/cypher_guard.dart';

void main() {
  final validator = CypherStaticValidator();
  final issues = validator.validate(
    statement: 'MATCH (n {id: \$id}) RETURN n',
    parameters: const {'id': '123'},
    allowWrite: false,
  );

  print('Issue count: ${issues.length}');
}
0
likes
150
points
56
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Static validation helpers for Neo4j Cypher queries.

Repository (GitHub)

License

MIT (license)

Dependencies

meta

More

Packages that depend on cypher_guard