Skip to content

๐ŸŒ€ function that returns Rx observable from MySQL query

Notifications You must be signed in to change notification settings

Alex0007/mysql-query-observable

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

29 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

mysql-query-observable

npm version wercker status

Creates Rx observable from query

Example

$ npm install --save mysql-query-observable
import {createObservableFromQuery} from 'mysql-query-observable'

createObservableFromQuery(`
  SELECT * FROM item ORDER BY id ASC LIMIT 2
`)
.toArray()
.subscribe(data => console.log(data)) // [{item1}, {item2}]

About

๐ŸŒ€ function that returns Rx observable from MySQL query

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published