Skip to content
This repository has been archived by the owner on Jun 10, 2024. It is now read-only.

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
consistency between examples
  • Loading branch information
loveridge committed Aug 22, 2015
1 parent 8198212 commit 6066b8e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,11 @@ LGPL v3. See LICENSE.
import 'package:oracle/oracle.dart' as oracle;
oracle.Environment env = new oracle.Environment();
oracle.Connection con = env.createConnection(username, password, connString);
oracle.Statement stmt = con.execute('SELECT test_int FROM test_table WHERE test_date=:bind', {':bind' : new DateTime(2012, 12, 19, 34, 35, 36)});
oracle.ResultSet rs = stmt.getResultSet();
while(rs.next())
expect(rs.row['TEST_INT'], equals(12));
oracle.Connection conn = env.createConnection(username, password, connString);
oracle.Statement stmt = conn.execute('SELECT test_int FROM test_table WHERE test_date=:bind', {':bind' : new DateTime(2012, 12, 19, 34, 35, 36)});
oracle.ResultSet results = stmt.getResultSet();
while(results.next())
expect(results.row['TEST_INT'], equals(12));
```

### Low level OCCI wrapping
Expand Down

0 comments on commit 6066b8e

Please sign in to comment.